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

Re: Roll back on a tag

From: Mark Reibert <svn_at_reibert.com>
Date: Wed, 23 Jan 2008 22:09:38 -0700

If you are looking to restore the original tag, why not just:

svn rm http://sourceforge/epay/tags/epay-1.0.5

svn cp -r 211 http://sourceforge/epay/tags/epay-1.0.5 \
              http://sourceforge/epay/tags/epay-1.0.5

Interestingly enough, I would have expected to use the command:

svn cp http://sourceforge/epay/tags/epay-1.0.5@211 \
       http://sourceforge/epay/tags/epay-1.0.5

But for some reason that escapes me after reading the SVN book, the
above command just complained about the peg revision not existing in
HEAD. Hmm.

On Wed, 2008-01-23 at 09:20 -0500, Todd Nine wrote:
> Hi All,
> I have a new dev who checked out a tag, then accidentally committed
> back to the same tag. I found a way to do it here.
>
> http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.branchmerge.commonuses.undo
>
> However the current repository version is at 426, the tags "correct"
> version is 211. If I execute
>
> svn merge -c -211 http://sourceforge/epay/tags/epay-1.0.5
>
> Will that roll the whole repository back, or just the tag?
>
> Thanks,
> Todd
>
>

-- 
----------------------
Mark S. Reibert, Ph.D.
svn_at_reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-24 06:09:58 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.