How to migrate part of an SVN repository?

Posted by dehmann on Server Fault See other posts from Server Fault or by dehmann
Published on 2010-04-08T21:36:17Z Indexed on 2010/04/08 21:43 UTC
Read the original article Hit count: 398

Filed under:
|
|

How do you migrate a part of an SVN repository into a new repository?

To migrate the contents of a complete SVN repository into a new repository, one has to dump the old repository first:

svnadmin dump /path/to/repository > repository-name.dmp

and then load it into the new one using svnadmin load.

But I'm not sure how to just migrate a part. Do I still have to dump the whole thing? Do I grep for the part that I want?

To just dump myproject, I tried this, but it didn't work:

svnadmin dump /path/to/repository/myproject

Any ideas?

© Server Fault or respective owner

Related posts about svn

Related posts about migration