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

Re: SVN need to delete/create-temp/rename files instead of simply ove rwriting them (suggestion how to workaround)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-05 14:54:09 CET

On Dec 5, 2004, at 5:33 AM, Teblin, Ivan wrote:
>
> It must be a simple fix regarding only file-saving routine and I hoped
> you
> would concider it easy to develop. Anyway, if you think there're some
> difficulties to implement it, I'll try to get my own hands to SVN
> sources
> and implement a patch to add the suggested "extra-compatibility"
> option for
> overwriting files instead of renaming/deleting them. Any suggestions
> how to
> name the option? "--fastsave"?
>

I don't think we would accept such a patch. The renaming that you see
happening in .svn/ is quite deliberate, and it's used to guarantee that
files come into existence atomically. File data arrives slowly from
the network, spooled into a tmpfile, then the tmpfile is moved to be
come the "real" file in one step. This isn't something special -- it's
an incredibly common technique with nice benefits.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 5 14:55:30 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.