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

Re: request to make svn_wc__prop_list_recursive a public API

From: Branko Čibej <brane_at_e-reka.si>
Date: Thu, 17 Feb 2011 13:47:12 +0100

On 17.02.2011 12:47, Stefan Küng wrote:
> Hi,
>
> The new function svn_wc__prop_list_recursive() provides a big
> performance gain for listing all properties of a full working copy.
> Currently I have to use svn_client_proplist3() to make use of that.
>
> But I'd like to have that API accessible directly, the same way e.g.
> svn_wc_prop_list2(). It is much easier to use those APIs for accessing
> the working copy because then I don't have to set up a full client
> context.
>
> Of course if you like to keep that API private, I'm ok with that too
> since I can use the svn_client_ API instead if I have to.
>
> Thoughts?

I think svn_wc_prop_list2 should be rev'd to *3 and given a depth
parameter, and call proplist_recursive, because the latter can handle
depth=empty, too. It should be possible to reimplement other public and
not-so-public prop-reading functions as wrappers for the _recursive case.

-- Brane
Received on 2011-02-17 13:47:56 CET

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