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