[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:45:20 +0100

On Mon, Feb 16, 2015 at 08:33:26PM +0100, Stefan Kueng wrote:
> My usual use case for creating a copy not from HEAD but an earlier revision
> is when I forgot to create a tag, and there have already been other commits
> done after making the release.
> So in that situation, it would be wrong to pin the externals (those pointing
> to the same repository) to HEAD but those should be pinned to the revision
> I'm creating the tag from.
> Checking out that tag then would work as I expect - if the externals were
> pinned to HEAD, the project might not compile.

I would argue that these are special circumstances where you can edit
svn:externals props in the copy after creating it, rather than expecting
this use case to apply to everyone.

It's best to have pinning behave consistently across all externals.
Received on 2015-02-16 20:48:11 CET

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