Skip to content

Migrate SVN Repositories

November 29, 2010

I recently had the need to migrate an SVN repository from one Unfuddle.com account to another. Their FAQ said that to import a repository you need to email customer service. I did and they quickly replied with this awesome info. I suppose that this would work with any SVN repo that supports svnsync.

All you need to do is run the following two commands:

  1. svnsync init –username USERNAME

    http://NEWACCOUNT.unfuddle.com/svn/NEWACCOUNT_REPO

    http://OLDACCOUNT.unfuddle.com/svn/OLDACCOUNT_REPO

  2. svnsync sync –username USERNAME

    http://NEWACCOUNT.unfuddle.com/svn/NEWACCOUNT_REPO

I’m watching the new repository sync with the old repository, full revision information and all, as I type this. Pretty cool. Thanks Unfuddle!

Advertisement
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.