Combining multiple SVN repositories into one
For many years our department have been using 1 project = 1 repository layout which worked well until our entire company decided to consolidate our fragmented SVN servers into one central SVN server. They have provided use with one department repository. The problem is how to move our projects into one single repository.
Here is the original setup:
Here is the target setup:
Here are the steps we took:
svnadmin dump c:\repositories\project1 > project1.dmp
svnadmin dump c:\repositories\project2 > project2.dmp
Load the dump files to new or existing repositories
svnadmin load --parent-dir project1 c:\repositories\department < project1.dmp
svnadmin load --parent-dir project2 c:\repositories\department < project2.dmp
When loading a dump file, disable the logic which validates property values.
svnadmin load --bypass-prop-validation --parent-dir project1 c:\repositories\department < project1.dmp
svnadmin load --bypass-prop-validation --parent-dir project2 c:\repositories\department < project2.dmp
No comments:
Post a Comment