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

Re: Reverting trunk back to a tag, what's the standard way?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-09-10 08:05:50 CEST

On Sep 9, 2007, at 23:36, aaron smith wrote:

> DAH, the code I have in my project's trunk started breaking a lot
> of stuff. I'm only about 12 revision off. What is the best way to
> tag the contents of a tag and put it in trunk?
>
> I have a tag called "release_1.3.1_rev796" that I want to be in
> trunk now. I was thinking of deleting trunk and copying that tag to
> trunk, but then technically the tag wouldn't work as it points to
> older version of trunk.. Should I use the svn move command? (svn
> move ./tags/release_1.3.1_rev796 ./trunk --force)?

Doesn't matter if you delete the head of trunk. The history of trunk
is still there in the repository, the tag still points to a point in
that history, you can copy the tag to the new trunk if you like.

Another option is to keep the trunk right where it is and just undo
those 12 revisions that you didn't like. See "Undoing changes" in the
book for the reverse merging procedure:

http://svnbook.red-bean.com/en/1.4/
svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 10 08:04:15 2007

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.