Linux under SVN rollback

Source: Internet
Author: User
Method 1: With svn merge1) First SVN up, to ensure updates to the latest version, such as 20;2) and then use SVN log, review the history of changes to find the version to restore, such as 10. If you want to know more about the situation, you can use SVN diff-r 10:20 [file or directory];3) to roll back to the version number 10:SVN merge-r 20:10 [file or directory], note the order between the version number, this is called reverse merge; 4) view the files in the current working version, such as Test.cpp and version 10 of the difference between the file: SVN diff-r test.cpp, the difference is manually changed; 5) If there is no difference, then submit: SVN ci-m "back to R 10,xxxxx" [file or directory]. A new version, such as 21, will be generated in the SVN library. Method 2: Use SVN up 2 steps such as Method 1, then direct SVN up-r 10. The current working version is version 10. Note, however, that a new version will not be generated in the SVN repository and will go back to the previous version after the local SVN up is next.

Linux under SVN rollback

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: info-contact@alibabacloud.com 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.