Friday, December 4, 2009

Replicating/importing one subversion repository to another

I recently had need of replicating one directory in a subversion repository into a different repository. I wanted to import the entire change history of a small Java application I had built into another repository to give access to others. I found a neat little utility that did it:

  • svn2svn - http://code.google.com/p/svn2svn/wiki/intro
It's a python script that checks out each element of the change history of one URL and checks it back into a second URL. It worked simply and quite well.

Other options include using SVK and "Tailor" (http://progetti.arstecnica.it/tailor/)

No comments:

Post a Comment