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

Re: [PATCH] Don't lock whole WC in svn lock/unlock

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-19 16:51:04 CEST

On Thu, 19 May 2005, Philip Martin wrote:

> "Peter N. Lundblad" <peter@famlundblad.se> writes:
>
> > On Wed, 18 May 2005, Philip Martin wrote:
> >
> >> "Peter N. Lundblad" <peter@famlundblad.se> writes:
> >>
> >> Given that we only lock files, does n-1 work?
> >>
> > I thought about that, but I don't think it is worth it leaving a latent
> > bug when/if we support dir locking.
>
> I wouldn't worry about that, if directory locks ever get implemented I
> expect it to be immediately apparent that this needs to change.
>
>
OK, I committed my version. I don't care to change that now:-) I think the
real solution is to do what commit does, namely keep track of all dirs to
lock and lock their parents. That's more complicated, though.

thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 16:42:47 2005

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