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

Re: svn client api comments

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2005-03-11 00:15:58 CET

On Mar 9, 2005, at 23:53, Ben Collins-Sussman wrote:

>
> On Mar 9, 2005, at 5:43 PM, Barry Scott wrote:
>>
>> svn_client_ls cannot return info on a directory. It always lists the
>> contents of a directory.
>>
>
> There's now an svn_ra_stat() in /trunk (upcoming 1.2) for this. It
> returns exactly one svn_dirent_t.

Good. So will svn_client_ls be change to use it?

>
>> no way to find the root of a repository - which means that info from
>> changed paths
>> is hard to use as its repo root relative.
>
> Huh? RA->get_repos_root() has been around for quite a while.

But there is no svn_client API to get the info.

The beauty if the svn_client API is that I can avoid digging deep into
the SVN code.

I hope you are not advocating that users should avoid svn_client and
write their
own functions based on the deeper APIs to get rounded functionality?

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 11 00:17:14 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.