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

Re: Tagging svn:externals

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Thu, 28 Feb 2013 16:29:31 -0600

On Thu, Feb 28, 2013 at 3:34 PM, BRM <bm_witness_at_yahoo.com> wrote:

>> No, I think the choices are to tag from the working copy or commit a
>> change after making the tag. But neither seem like the tool is
>> designed to do what I'd expect to be a common operation cleanly.
>
> What do you mean?
>
> Branching from a working copy is extremely easy:
>
> $ svn copy . ^/path/to/tag/or/branch
>
> It's a first-class operation in subversion.

Yes, that does work and seems like a reasonable thing if no change
other than the externals is done. But if you aren't careful, you can
easily add items that don't exist anywhere else. And you have to
revert your change before continuing commits to trunk.

> Likewise, you can:
>
> $ svn copy . ^/path/to/tag/or/branch
> $ svn switch ^/path/to/tag/or/branch
> ...make modifications here..
> $ svn commit

Likewise, something that works, but if it is a tag you are violating
the convention of not committing changes to tags. Leaving the
question of which of these would be considered a 'best practice'.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2013-02-28 23:30:04 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.