Roll back to defined revision with SVN plugin [?]
Hi, all
Revert just destroys local changes beside from repository version. I am wondering how to return to some revision by number. For example I found that switching from rev. 73 to 68 can be done with following console commands:
svn merge --dry-run -r:73:68 http://my.repository.com/my/project/trunk
svn merge -r:73:68 http://my.repository.com/my/project/trunk
svn commit -m "Reverted to revision 68."
It is very frequent situation: perform bad changes and go back to past point of work. As i understand marging is "integrate" in IDEA notation. I do not use branches/tags (changes are minor, project is shared between team).
Manual "Revert changes" from "Changes view" for particular revision is too sluggish when all-files roll back needed.
Please sign in to leave a comment.
Switching a file or directory to a specific revision on the same branch is easy. Right click the directory or file you want to update in the Project View. Select Subversion/Update File or Update Directory to display the SVN Update dialog. Check the box Update/Switch to a specific revision, click the ellipsis button and select the revision you want.
Thanks. But there are two problems: