[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 16:22:32 CEST

Ben Collins-Sussman wrote:
[snip]
>> So I like to have svn_client_ls3() return an svn_dirent2_t structure
>> which has some more information in it - if possible the whole
>> svn_info_t struct? I don't know if that's even possible, just wanted
>> to ask for a feature TSVN could make good use of.
>
> Hm, that sounds convenient, can you file an enhancement request?

Done:
http://subversion.tigris.org/issues/show_bug.cgi?id=2291

> (Another possible enhancement might be to have svn_client_info() take a
> depth argument; that would be essentially the same as svn_client_ls()
> returning dirent2_t's.)

In that case, the svn_info_t structure would have to be extended a
little to take e.g. the filesize entry, which the svn_dirent_t has but
svn_info_t hasn't.

> In the meantime, you can call svn_ra_get_locks() and overlay the result
> in your repository browser, right?

Sure, I could do that. Most of the features I'd like to implement in
TSVN could be done by calling several Subversion API's. The problem here
is as always speed. svn_client_ls() is slow enough as it is (depending
on server, but always _much_ slower than browsing it with a webbrowser).
Adding another call which contacts the repository would make it so slow
users would start complain a lot (they already do now, but there's
nothing I can do about that).

Stefan

-- 
        ___
   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 16:23:28 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.