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

SVN revert.

From: Steve Constable <steve.constable_at_hotmail.com>
Date: Wed, 14 Oct 2009 14:37:42 -0400

I want to revert -rHEAD to -rOLD (where OLD represents some valid previous
revision).
I have not made any local changes but simply recognize that the OLD version
is where I want to be and continue from there.
I've 'Googled' my question and some have suggested using 'merge' and then
commit.
Here is what I tried:

svn merge -rHEAD:50 Folder_name
svn commit Folder_name -m "try to revert back to -r50 as an experiment"
But neither command generated any output from SVN. I was expecting to
see the command output similar to when I check in a bunch of files.
When I did a svn stat, I see that I'm still at the HEAD. What I was really
expecting to see was that I'm now at HEAD+1 and the contents of HEAD+1 is
really the exact same as -rOLD.
Maybe SVN is not meant to be able to move the HEAD back to some old version?
Is there some way that others have achieved this?
It seems like a core functionality-so it must be do-able....no?

Thanks for any help.
-Steve

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407687

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-14 20:38:44 CEST

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.