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

Re: Tagging Discontiguous Commits

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-22 15:55:02 CEST

On Sat, 2004-05-22 at 01:10, glists wrote:

> Is there a way to do this? I'm new to Subversion so I'm hoping I'm just
> missing something easy.

Others have already explained two different ways to use 'svn merge' to
create what you want, but I want to point out the conceptual confusion
here over the use of your word "tag".

A "tag" is a snapshot of tree which exists in the repository. The thing
you want to tag -- that is, revision 18 without the r17 change -- *does
not exist*. It's not in the repository anywhere; it's just in your
imagination. So the advice people have given you have all been ways to
create the tree, so that you can snapshot it.

But really, I would call this a "branch", because the tree you're
creating is different than trunk. You're creating a different line of
development. I would have copied r18 of /trunk to /branches/blah, then
checked out a working copy of blah, then used 'svn merge' to remove the
r17 change, then commit. Then /branches/blah would be exactly the tree
you want, a divergent branch of /trunk. Then I would have just copied
/branches/blah to /tags/finaltag.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 22 15:59:14 2004

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.