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

[PATCH] Don't lock whole WC in svn lock/unlock (was: Re: svn commit: r14736 - in trunk/subversion: tests/clients/cmdline)

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-18 22:22:48 CEST

On Sat, 14 May 2005, Philip Martin wrote:

> "Peter N. Lundblad" <peter@famlundblad.se> writes:
> > Seems a little heavy-weight to me. This means that if I lock a file in the
> > root of the repository, svn will lock the whole WC.
> >
> > Wouldn't it be possible to, in the loop below, just svn_wc_adm_probe_try3
> > all the parents of each path from left to right?
> Yes, it might be possible. I'm not sure such code really belongs in
> lock/unlock, I feel it would be better as part of the access baton
> code.
This simple fix will at least avoid locking the whole WC in many cases.
Seems OK?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

  • TEXT/PLAIN attachment: msg
Received on Wed May 18 22:14:15 2005

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.