svn server installation, migration tutorial, Eclipse svn switch link library

svn server installation, migration tutorial, Eclipse svn switch link library


 Installation Tutorial

1. Download the svn server installation program

2. Run the program to install

 

 

 

Here the port number according to their definition, to avoid conflicts with other programs

 

 

 

Here on the installation is complete


Migration Tutorial

Examples hereFrom A server migrated to server B

1. Locate the svn installation directory bin folder A server

Default:

My directory:

Command line to reach this position

3. Locate you will want to export svn repository

The default location:

The C: \ Repositories;

At the same time a place to test a new folder (storage location is wait export file) (c drive me here)

Then enter the command line just opened

Excuting an order:

svnadmin dump C:\Repositories\testsvn > C:\test\testsvn.dump

Which testsvn for your svn repository name

 

4. Export file (.dump) copied to the server B test folder (folder can customize herein, this needs to be consistent with import below)

Here .dump file may be larger, you have to wait

Can first be compressed, the copy

5. In the server B to open VisualSVN Server

Startup file in the bin folder in the installation location

6. Start, a new project of the same name and just exported library (you can create a default step) (recommended the establishment of an empty space)

7. The B server , the command-line switches to the installation bin directory svn

8. Run

Svnadmin load C:\Repositories\testsvn < C:\test\testsvn.dump
Svnadmin load C:\Repositories\jsoup < C:\test\jsoup.dump

Here file location, depending on their location file the case may be

9. When finished, svn repository migration is complete

10. With regard to the user (user) needs and to re-create a new repository configuration


Eclipse svn switch link library

svn repository -> repositioning -> New url- input> Switch

Right Project -> Disconnect -> Project Right -> Team -> Share Project-> svn-> see just relocated url-> click to confirm

Guess you like

Origin www.cnblogs.com/zktww/p/11543807.html