How to import multiple svn dump files in to SVN?

1.7k Views Asked by At

i am migrating a large CVS repository to SVN using Polarion SVNImporter. Due to its large size i got multiple dump files for a single repository, say dmp_part1, dmp_part2 etc. My requirement is to load these multiple dump files (which is actually part of a single repo) to svn server and want to create a single project . Can I use the following ?

$ svnadmin load /path/to/repo < dmp_part1, dmp_part2, dmp_part3

If I run the command for each dump, will it creates three different repos?

Please help on this.

2

There are 2 best solutions below

0
bahrep On BEST ANSWER

If I run the command for each dump, will it creates three different repos?

No. You should run the command multiple times to load the dumps one by one. SVNBook | Repository data migration using svnadmin provides an example.

2
Libin Varghese On
for dump in dmp_part1 dmp_part2 dmp_part3
do
    svnadmin load /path/to/repo < $dump
done

You could run a loop to pick each dump and add it to the same repository.