Re: [vote] pin-externals branch to trunk
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.
Received on 2015-02-04 19:10:45 CET
This is an archived mail posted to the Subversion Dev