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

Re: [PATCH] Make working copies read-only.

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2001-12-01 00:48:28 CET

On Fri, 2001-11-30 at 15:44, Karl Fogel wrote:
> Is it necessary to unlink the dst before doing a rename()? That's not
> crash-proof, though in our case it would probably be okay because "svn
> cleanup" would fix it, and "svn cleanup" would be forced because the
> wc would be in a locked state.

Oh, you're right, of course. No need to unlink before rename, even if
the destination file is non-writable.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:50 2006

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.