Migrating an SVN repository from your site to SourceForge’s

Posted by CPUFreak91 on August 13th, 2008 filed in Programming, Project Difficulty: Easy, Time Spent: Less than 1 hour, Web Stuff

Since Roger Robot is now a SourceForge-hosted project I wanted to migrate the SVN repository from my webhost to SourceForge’s svn server. I found some instructions, ssh’ed into my webhost and ran these commands:
svnadmin hotcopy
svnadmin dump path to svn repository itself, not the checked out version> -r 0:HEAD > .dump
bzip2 .dump

Then I fired up the sftp client, logged into shell.sf.net and transferred the dump file to Roger Robot’s SF.net group folder. The process took ages, but once it was done, I went into the Admin panel for the Roger Robot project, selected SVN, clicked on the obscure “Migrate” link, typed the name of the dump.bz2 file and the name I wanted the new repository to have (the repository on my server is name pyweek6, I wanted the sf.net one to be roger-robot).

Leave a Comment

You must be logged in to post a comment.