Migrate from SourceForge SVN Repository


July 4th, 2008

Today I had to migrate a project from its SourceForge SVN repository to a new standalone machine. Here’s how I did it:

First, dump the SourceForge repository to your local machine:

mkdir PROJECTNAME
cd PROJECTNAME
#Add –progress and -v for more detail during transfer
rsync -az PROJECTNAME.svn.sourceforge.net::svn/PROJECTNAME/ .

Create the new repository:

svnadmin create /path/to/new/repo

Now you need to convert the SF.net data into a SVN dump file:

svnadmin dump . > ~/PROJECTNAME.dump

Then load the dump file into the new repo:

svnadmin load /path/to/new/repo < ~/PROJECTNAME.dump

You can combine those last two steps into one too:

svnadmin dump . | svnadmin load /path/to/new/repo


One Response to “Migrate from SourceForge SVN Repository”

  1. Alex on July 13, 2008 6:04 pm

    test

Trackback URI | Comments RSS

Leave a Reply

Name (required)

Email (required)

Website

Speak your mind

Archives

Misc