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

RE: text-base penalty: A proposed solution

From: Bob Gustafson <bobgus_at_rcnChicago.com>
Date: 2002-12-19 02:12:40 CET

Hmm, the file that the client user wants to edit is already on the client -
in the workspace.

If the client user edits a pristine file, we need a mechanism that will
copy the pristine file to the .svn space *before* the edited file is
written back to the workspace.

I don't know how to implement that magic. Need some brainstorming.

Maybe work in a modified shell space that senses when a write will happen?
Or maybe make the pristine file read-only and then have the editor (vim?)
say "This file is read-only, do you want to stash a pristine copy in
.svn?", or something like that.

BobG

Kean Johnston wrote:
 Mark Bainter wrote:
>> I have an alternate proposal for copy-on-edit. Do the checksums, but
>> instead of svn edit, just wait until the user actually tries to run a
>> command that requires the original source, then pull that
>> down and keep it around until the changed file gets checked in.
>Sounds like you want a 5th mechanism ... retrieve_on_edit :)
>
>Kean
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 19 02:13:24 2002

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