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

Re: [vote] pin-externals branch to trunk

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Wed, 04 Feb 2015 19:43:25 +0100

On 04.02.2015 19:08, Stefan Sperling wrote:
> On Wed, Feb 04, 2015 at 06:42:08PM +0100, Stefan Kueng wrote:
>> Maybe one more improvement:
>> Add a new API to fetch the list of externals which would be pegged if NULL
>> is passed to the svn_client_copy7 API.
>>
>> Suggested name: svn_client_get_externals_for_copy()
>> which returns the hash of all externals.
>> I figure the code to do that is already in place (you have to do that if
>> NULL is passed). And it would make it easier for clients.
>>
>> I can easily do this myself on a working copy, but I'm guessing I can't do
>> it using the client API's as efficiently as a new API could for urls.
>
> A recursive propget on the copy source gives you that list. Plus you'd have
> to pass the externals you get through svn_wc_parse_externals_description3()
> to get them represented as an array of svn_wc_external_item2_t.

Thanks for the hint. Will do that.

Stefan
Received on 2015-02-04 19:43:37 CET

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.