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

Re: [Patch] Issue #2291 - 'svn ls -v' return locking information

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-06-30 22:20:21 CEST

On Thu, 30 Jun 2005, Ben Collins-Sussman wrote:

>
> Second, you seem to be calling svn_ra_get_lock() on EACH object,
> which is a huge number of extra network requests! Instead, why not
> just call svn_ra_get_locks() exactly once, and then pull relevant
> locks out of the hash and plunk them into the dirent objects.
>
The sad thing is that we designed us into a corner, since we only have
depth 0 and depth infinity for this operation. Fetching all locks for the
whole repository can be a lot of data that's not used in the non-recursive
case. svn status -u does it that way, but I don't like it. Moving the lock
fetching to the server would avoid the network round-trips, but isn't good
either. Either way, we should have a way to say that we don't want the
lock info when it isn't needed.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 30 22:26:59 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.