[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-30 16:03:41 CEST

On Apr 30, 2005, at 3:45 AM, SteveKing wrote:

> Hi,
>
> I have a feature request:
>
> The API svn_client_ls2() only returns file information right now,
> which is of course sufficient for most purposes. But as you might
> know, TSVN uses that API in the repository browser which many users
> use instead of a web browser to browse repositories (especially for
> svn:// servers because web browsers don't work there).
> Now, since with svn_client_ls2() we show the repository tree layout
> and additional information for each file, it would be nice if we could
> show there if files are locked too and who locked it.
>
> 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?

(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 the meantime, you can call svn_ra_get_locks() and overlay the result
in your repository browser, right?

---------------------------------------------------------------------
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:05:30 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.