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

Re: SVNSYNC: Locked file on deleted branch with svnsync

From: David Glasser <glasser_at_mit.edu>
Date: 2007-01-30 20:24:41 CET

On 1/30/07, David Glasser <glasser@mit.edu> wrote:
> Aha. Yeah, running the replay on the master doesn't interact with
> locks at all, but on the mirror it is just doing an ordinary commit,
> and so locks will mess it up. Just delete them with svnadmin rmlocks.
> In general, you should not be doing any sort of commit or locking
> operation to svnsync mirrors; the notes/svnsync.txt file recommends
> using a hook to prevent commits by users other than svnsync, and
> perhaps it should also recommend not allowing any locks.

In r23293 I just committed a change to the notes/svnsync.txt file in
the distribution which now recommends using a pre-lock hook on mirrors
to prevent the acquisition of locks. (I also changed the
recommendation of pre-commit to start-commit.) Thanks for bringing
this issue to our attention!

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 30 20:24:55 2007

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.