SVN revokes the submitted changes

Source: Internet
Author: User
Tags log log svn update
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.