[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Space wasting

From: Dimitri Papadopoulos-Orfanos <papadopo_at_shfj.cea.fr>
Date: 2004-03-15 17:30:48 CET


> The problem is subversion doesn't have control over when a file is
> modified and therefore can't enforce the copy-on-write. Any user with
> any application (text editor, build tool, IDE, script) is going to come
> along and simply modify the files because they exist in a normal
> filesystem. At that point, it is too late to copy the original to
> create the text-base.
> [...]
> The only other way to deal with this would be to enforce controlled
> access to the wc. Since all tools (IDE, text editors, etc.) are used to
> dealing with a regular filesystem, you'd have to build a virtual
> filesystem wc that did copy-on-write. But that's a whole different
> project.

Or you could have an option to have Subversion operate like Perforce,
where one has to
        p4 open
        p4 edit
prior to editing a file. Files that haven't been edited/opened shouldn't
be modified by a text editor, build tool, IDE, script. This is enforced
by using the filesystem's permissions. I know a simple chmod works
around this scheme on POSIX systems, but it does work for Perforce users
and I personnaly like to be warned that "somebody else is already
editing the file" when editing/opening it.

Dimitri Papadopoulos
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 15 17:31:15 2004

This is an archived mail posted to the Subversion Users mailing list.