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

Re: pin externals when creating a copy from specific revision

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 16 Feb 2015 20:39:45 +0100

On Mon, Feb 16, 2015 at 08:01:19PM +0100, Stefan Kueng wrote:
> Hi,
>
> I'm still doing some testing with the new --pin-externals feature, and I
> found a situation which I'm not sure should be handled that way:
>
> imagine the repo is at r100. Now if one does a
> svn copy http://server/trunk http://server/branches/b1 -r50 --pin-externals
>
> then all externals get pinned at r100. But shouldn't in-repo externals get
> pinned to r50 instead? At least in this kind of copy, I think those
> externals should get pinned to r50?

In general, externals point at different repositories. So your expectation
that any of the revision numbers involved in the copy process have anything
to do with pinning is misguided. An intra-repository external (and especially
a configuration where all externals come from the same repository) is a special
case where I don't think it is wise to make pinning behave any differently.

> Also, the svn_client_copy6 API misses the SVN_DEPRECATED macro.

Thanks! I see Bert fixed that.
Received on 2015-02-16 20:41:17 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.