1. Make sure we get the latest code: SVN update assumes the latest version number is 28. 2. Then find out the exact version number to roll back: SVN log [something] assumes that the version number to rollback is 25 based on the SVN log log, where something can be a file, directory, or entire project. If you want to know more about the situation, you can use SVN diff-r 28:25 [something] 3, rollback to version number 25:SVN Merge-r 28:25 Something for the sake of insurance, reconfirm the results of the rollback: SVN diff [something] found correct, commit. 4. Submit rollback: SVN commit-m "Revert revision from R28 to R25,because of ..." The post-commit version becomes 29. Summarize the above actions as follows: 1. Three. SVN update,svn log to find the latest version (latest revision) 2. Find the version number you want to roll back (Rollbak revision) 3. Roll back with svn merge: SVN merge-r: something
SVN revokes the submitted changes