Posts Tagged google-code

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

Comments (2)

Follow

Get every new post delivered to your Inbox.