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:
7