CVS migration SVN

Source: Internet
Author: User
Tags subversion client filezilla

Some SVN migration and backup work has been done in the company, so some work processes have been recorded

 

CVS to SVN

To avoid the impact of migration on other programs, all tools except \ 192.168.4.253 are stored in this migration.

\ D $ \ 2012.8.9cvs2svnMedium

 

1. Prepare the tool

A)
Python-2.4.zip

B)
Cvs2svn-2.3.0.tar.zip

C)
Unxutils.zip

D)
Rcs57pc1.zip

E)
Cvsnt-2.5.03.2382.msi

F)
Filezilla

 

2.
Install

A)
Python-2.4.3.msi to D: \ 2012.8.9cvs2svn \ Python

B)
Decompress cvs2svn tool to D: \ 2012.8.9cvs2svn \ cvs2svn-2.3.0,
Go to the command line to test Python Installation

C)
Because cvs2svn uses the gun sorttool, The usr/local/wbin/sort.exe file under unxutils.zip is extracted to the cvs2svn-2.3.0 directory.

D)
Use the rcstool co.exeto decompress the rcslib.dllfile under bin/win32in the rcs57pc1.zip package to the cvs2svn directory as well as the co.exe files.

E)
Install the FTP software filezilla and import the CVS version Library to the local machine.

 

3.
Migrate version Library

A)
Use filezilla to import the version library 192.168.4.252 to the local machine. The number of failed files for transmission is 11,
Recorded

B)
Upload local cvsroot to 192.168.4.253

 

4.
Use the migration tool cvs2svn

A)
Proposed path

I.
CVS version library path d: \ 2012.8.9cvs2svn \ cvsroot

II.
SVN repository path D: \ 2012.8.9cvs2svn \ svnroot

III.
Cvs2svn tool D: \ 2012.8.9cvs2svn \ cvs2svn-2.3.0

IV.
Python2.4 installation path D: \ 2012.8.9cvs2svn \ Python

 

B)
Generate the dump file locally, as shown below:

I.
D: \ 2012.8.9cvs2svn \ cvs2svn-2.3.0> D: \ 2012.8.9cvs2svn \ Python cvs2svn

-- Encoding = gb2312 -- use-CVS-dumpfile = D: \ 2012.8.9cvs2svn \ cvsrepo. Dump D :\

2012.8.9cvs2svn \ cvsroot> D: \ log.txt

II.
Because there are 7 files with the same name in different directories, migration cannot be performed. The file has been deleted and backed up for it.

C) use svnadmin

 

Then use svnadmin create svnroot and svnadmin load D: \ svnroot -- bypass-prop-Validation <dumpfile to load

 

D)
Use the Subversion client to check the file

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.