Getting back to an old revision in SVN
By Sarah Rodriguez •
The thing is that the revision number 4 was working good. The team did some changes in the last week and when I came back, they are in the 14th revision. I updated, but there are some conflicts and now I can't run my app in Rails. In my working folder I have all the revisions (until 14) but I only want the revision 4.
I tried doing svn up -r4 and it did not work. When opening the Rails app, there is the current code.
How can I erase all the revisions (from 5 to 14) and have only the revision 4 in my working folder?
System: Ubuntu LTS 14.04
21 Answer
To "revert" to rev. 4, try the following commands:
svn merge -r:14:4
svn commit -m "Reverted to revision 4."Source:
7More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"