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

Re: svn commit: r11334 - in trunk/notes: . locking locking/old

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-10-13 23:46:18 CEST

On Wed, 13 Oct 2004, Justin Erenkrantz wrote:

> --On Wednesday, October 13, 2004 1:12 PM +0100 Philip Martin
> <philip@codematters.co.uk> wrote:
>
> > - Can I lock dir when dir/file1 is locked, or will I have to
> > revert/unlock my edit first?
>
> I think if we implement directory locking and you hold a file lock already,
> then you should be able to acquire the directory lock. If someone *else* has
> an active lock on a file in that dir, then I guess 'svn lock' on a directory
> should error out with a message from the server.
>
> FWIW, I'm with C-Mike: I'd rather see directory locking not have any
> inherited/recursive properties - it'd just lock any modifications, deletions
> or additions to the directory.
>
What about
svn lock dir --recursive
taking out individual locks for the paths below dir as well as dir.

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 13 23:31:31 2004

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