SVN Version Rollback Question
Posted
by phimuemue
on Stack Overflow
See other posts from Stack Overflow
or by phimuemue
Published on 2010-03-19T13:59:36Z
Indexed on
2010/03/19
14:01 UTC
Read the original article
Hit count: 171
Hello,
I'm using SVN (TortoiseSVN) and often came into the following situation:
I wanted to discard any changes since a specific (old) revision and turn all files back to this specific (old) version. Then I wanted to work further as if this specific (old) revision was the newest one, i.e. I wanted to be able to commit the specific old revision as a new revision.
I found several solutions for this problem (for example stackoverflow.com/questions/402159/roll-back-or-revert-entire-svn-repository-to-an-older-revision or rustyrazorblade.com/2007/04/how-to-roll-back-commits-to-an-earlier-version-of-a-repository-in-svn/).
However, I wonder if there is a simple way to roll back to a specific revision. I thought version control is just good for such things (or am I misunderstanding something?).
Is there a simple command/button/etc. that takes an updates my local repository to an old revision and declares it to be the newest one?
Since I suppose that there is no "built-in" function to do this, I wanted to know what reason lead the developers to the decision not to integrate this feature. Does anybody know this?
© Stack Overflow or respective owner