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

Re: svn commit: r14736 - in trunk/subversion: tests/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-05-14 23:09:21 CEST

"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.

Personally I dislike the probe_try interface. I think using stat() on
the wc is wrong, I have no idea how it behaves on disjoint working
copies. I'd prefer something that uses the entry information in the
access batons, extending the set from from parent to child rather than
child to parent.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 14 23:13:17 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.