Moving your SVN repository from Kenai to Google Code with svnsync

Do you want to move your svn repository but without losing your history? No problem with svnsync!

  1. Create a new Google Code project with a SVN repository.
  2. Reset the Google Code SVN repository.
    By default every Google Code SVN repository does have an initial structure, but svnsync needs an empty repository. So go to the “Source” tab and at the bottom of the page there is a link “reset this repository”.
  3. Now open up a terminal.
    $ export FROMREPO=https://svn.kenai.com/svn/YOUR-PROJECT
    $ export TOREPO=https://YOUR-PROJECT.googlecode.com/svn/
  4. Then you will be asked for your username/password after running this command.
    $ svnsync init ${TOREPO} ${FROMREPO}
  5. And finally to start the process, execute the following:
    $ svnsync --non-interactive sync ${TOREPO}

See also: using-svnsync

Advertisements

3 Comments

  1. […] I recently needed to move over my code base from a remote repository to another remote repository. Using Subversion, I used svnsync, as demonstrated by this excellent little article. […]

  2. […] Moving your SVN repository from Kenai to Google Code with svnsync […]

  3. […] remote repository using Subversion. To accomplish this I used svnsync, as demonstrated by this excellent little article. Here’s a quick Windows version of that article, demonstrating a google code project […]

RSS feed for comments on this post

Comments are closed.

%d bloggers like this: