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

Re: RFE: svn_client_ls() should return locking info

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-30 18:24:40 CEST

Peter N. Lundblad wrote:
> I'm afraid we have another problem here. svn_ra_get_locks and
> svn_fs_get_locks are recursive operations. In FSFS we could easily allow
> depth 1 (or whatever depth we wanted). That's not the case in bdb. Maybe
> we choose the bad tradeoff here.
> svn_ra_get_dir could do an svn_fs_get_lock (server side) for each entry,
> but that's also a slowdown.

But I think that slowdown wouldn't be as big as the network slowdown
which occurs if I have to do an svn_ra_get_locks().

> Stefan: Another idea. status -u gives you all lock information. Maybe you
> could give lock information in whatever in your GUI corresponds to that,
> instead of the repo browser?

I'm afraid not. The repo browser is URL based, i.e. it works directly
with URL's. svn_client_status() needs a working copy and therefore
wouldn't work with the repobrowser.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 30 18:25:23 2005

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