I recently wanted to clean up a subversion repository of mine and move some of the larger folders/projects into their own repository. There’s not much documentation on how to do this in Windows (what I primarily use) which is the main reason why I wanted to share this info.
Now, in the past, I’d moved whole repos using the svnadmin dump
command, but now I had to make sure that I only got revisions related to a specific folder. Fortunately, there’s this handy little program that comes with subversion called svndumpfilter
. This little tool lets you filter out revisions from an svn dump based on a path in the repo. It will even renumber the revisions for you so that when you load the new dump file into it’s own repo, the revisions will all be in order starting from revision 1.
Ok, let’s get to it!
Read the rest of this entry »