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

Re: Undo changes to a tag

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2004-02-10 04:05:27 CET

On Mon, 09 Feb 2004 19:37:24 -0700, "Bruce Elrick" <bruce@elrick.ca>
> cd ~
> mkdir fixtrunk
> cd fixtrunk
> svn checkout http://localhost/svn/trunk/projectX .
> svn merge -r 20:31 http://localhost/svn/tags/projectX-0.9 .
> svn commit -m \
> "Merge /tags/projectX-0.9 between rev 20 & 31 into /trunk/projectX"

Just do a reverse merge:
cd ~
mkdir fixtag
cd fixtag
svn checkout http://localhost/svn/tags/projectX-0.9 .
svn merge -r 20:19 http://localhost/svn/tags/projectX-0.9 .

Notice the order of the revisions. We're applying the changes in
reverse, in effect reverting the change. The subsequent commit will
bring back the tag to it's previous state.

Hope that helps !
Developer of Java Gui Builder

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 10 04:05:50 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.