SVN Delete Submit Version method

Source: Internet
Author: User
Tags pack svn

admini@stb-server:~/hisi_toolchain$ SVN log
---------------------------------------------------------------- --------
R3 | flyan | 2012-03-09 17:02:56 +0800 (Five, 2012-03-09) | 2 lines


add cpptest_9.1


------------------------ ------------------------------------------------
R2 | flyan | 2012-03-09 16:56:02 +0800 (Five, 2012-03-09) | 2 rows


add Ann Pack Description


------------------------------------------------------------------------
R1 | root | 2012-03-09 16:48:31 +0800 (Five, 2012-03-09) | 1 lines


init the hisi toolchain
------------------------------------------------------------------------
admini@stb-server:~/hisi_toolchain$ 

Scenario Description: When we use SVN to submit a version, found that there is a problem with the submission, want to delete, this article explains its operating procedures.


Purpose: To delete the SVN R3 version to view the current version library information:

admini@stb-server:~/hisi_toolchain$ SVN log
---------------------------------------------------------------- --------
R3 | flyan | 2012-03-09 17:02:56 +0800 (Five, 2012-03-09) | 2 lines


add cpptest_9.1


------------------------ ------------------------------------------------
R2 | flyan | 2012-03-09 16:56:02 +0800 (Five, 2012-03-09) | 2 rows


add Ann Pack Description


------------------------------------------------------------------------
R1 | root | 2012-03-09 16:48:31 +0800 (Five, 2012-03-09) | 1 lines


init the hisi toolchain
------------------------------------------------------------------------
admini@stb-server:~/hisi_toolchain$ 


Implementation steps:

1. Dump the reserved version Library
Svnadmin dump R1:2  /home/svn/hisi_toolchain >hisi_toolchain_r2


/home/svn/hisi_toolchain for SVN repository directory, r1:2, dump version 1 to version 2 data


2. Create a new version library
Svnadmin create/home/svn/hisi_toolchain_new




3. Import Dump Version Library
Svnadmin Load < HISI_TOOLCHAIN_R2




4. Replace the previous version library name
Mv/home/svn/hisi_toolchain{,bak}
Version Library prior to backup


Mv/home/svn/hisi_toolchain_new/home/svn/hisi_toolchain


To name the new version library as a previous version library


5. Re-checkout version library


6. View version Library log information
admini@stb-server:~/hisi_toolchain$ SVN log
---------------------------------------------------------------- --------
R2 | flyan | 2012-03-09 16:56:02 +0800 (Five, 2012-03-09) | 2 rows


Add installation instructions


--------------------------------  ----------------------------------------
R1 | root | 2012-03-09 16:48:31 +0800 (Five, 2012-03-09) | 1 lines


init the HiSi Toolchain
------------------------------------------------------------------------



Indicates that the version R3 has been successfully removed from the repository

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.