Do you want to move your svn repository but without losing your history? No problem with svnsync!
- Create a new Google Code project with a SVN repository.
- 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”. - Now open up a terminal.
$ export FROMREPO=https://svn.kenai.com/svn/YOUR-PROJECT $ export TOREPO=https://YOUR-PROJECT.googlecode.com/svn/
- Then you will be asked for your username/password after running this command.
$ svnsync init ${TOREPO} ${FROMREPO} - And finally to start the process, execute the following:
$ svnsync --non-interactive sync ${TOREPO}
See also: using-svnsync