Karl Heinz Marbaise wrote on Sat, Jan 19, 2013 at 14:42:30 +0100: > Hi, > >> Have you considered other solutions? For example, the ASF CMS maintains >> one working copy per project, and uses zfs copy-on-write clones to fork >> off a per-user working copy for each user (even concurrent users) who >> works on that working copy. >> >> https://svn.apache.org/repos/infra/websites/cms/webgui/lib/ASF/CMS.pm >> > Does this solutions supports having different working copies per user > which can access them or are these working copies on a per project base? > What about locking of files in the working copy (svn:needs-lock) etc. ? > How could they be accessed ? >
The key part of the solution is creating working copies by creating copy-on-write forks of a "master" working copy (kept pristine at all times --- zfs floating tags, anyone?). For example, you could configure sudoers(5) to let any of your users run 'zfs clone /tank/mywc /tank/$USERNAME/$1'. Then the answers would be: - One or more working copies per user - Supported - local filesystem (or whatever you've hooked it to: webdav, scp/sftp, ...) Does that make sense ?