SVN's Directory Migration

Source: Internet
Author: User
Tags parent directory svn

The development engineer proposed to organize the database, is to put the previously chaotic directory structure into a new library, and retain the previous version and log information. After searching the solution online and verifying it, the solution is summarized as follows:

Need to use tool Rsvnmanager,

The download address is:,

Command Help:

1. Download rsvndump-0.5.5.tar.gz

2. Installation
[Root@localhost opt]# tar zxvf rsvndump-0.5.5.tar.gz

[Root@localhost opt]# CD rsvndump-0.5.5
[Root@localhost rsvndump-0.5.5]#./configure--with-apr=/usr/local/apache/bin/apr-1-config

(If you have not installed Apr before, you must install APR, usually installed in the/USR/LOCAL/APR directory, in the above command to change to this directory is good)

[Root@localhost rsvndump-0.5.5] #make

[root@localhost rsvndump-0.5.5] #make Install

After the installation is complete, Rsvndump will appear in the/usr/local/bin directory

[Root@localhost bin]# ls
Coraenv dbhome oraenv Rsvndump

3. Export

First, export the content you want to export to the dump file, in this case the export content is .../test_proj/trunk/src directory, where test_proj is the configuration library

[Root@localhost ~]# rsvndumphttp://localhost/opt/svndata/test_proj/trunk/src > Src.dump

[Root@localhost ~]# Cd/opt/svndata

4. Import

Import to Configuration library tut_proj, parent directory is .../tut_proj/svnmanager/doc, where parent directory is built first, otherwise import error

[root@localhost ~] #svnadmin load Tut_proj--parent-dirsvnmanager/doc < ~/src.dump

Note that the import is only the original .../test_proj/trunk/src directory of files, not including the SRC directory AH.

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.