svngoogle-codecollabnet

How do I move my Google Code Subversion repo to CollabNet


I am having the hardest time figuring out how to move my Subversion repository from Google Code to my CollabNet Subversion Edge server. I have read about making dump files, and migrating, and backing up and sync and just can't find the right answer. I think what's happening is that I don't know exactly what to type into Google. I'm just at a complete loss. I have been searching for about 3 hours now.


Solution

  • Obtain a dump file of your repository from Google Code. In Subversion Edge, create a new empty repository and then use the Load option to load the dump file that you obtained from Google Code.

    If Google does not let you download a dump file, then you should be able to create a new empty repository in SVN Edge and then use the svnsync command line tool from any client to synch the repository from Google Code to your Subversion Edge repository. To do this, you will just need to turn on the pre-revprop-change hook in the Subversion Edge repository. The hook script can just be an empty file or have a single line of "exit 0".