Question

I read some question/answers here about how to do it using svnadmin/dump etc. Actually I did not understand properly what I'm supposed to do.

How do I migrate an SVN repository to another SVN repository?

I think I have to do some sort of dump from the Google code repository using svnadmin, but where do I get this svnadmin?

I use TortoiseSVN 1.6.3 on WXP and there is no svnadmin.exe command in all my C folder, where am I supposed to download these applications?

Thanks!

Was it helpful?

Solution

from subversion 1.7 you can use svnrdump here the link to the doc:

i used: svnrdump dump https://mynameproject.googlecode.com/svn > source-repo.dump

and it works

OTHER TIPS

You can use svnsync to make a 1:1 copy of a remote svn repository, including history and properties. You do not even need write access to the repository that is being copied.

The reason you do not have svnadmin is that it is a server-side program, not a client-side program; it is used on the same machine on which the Subversion repository is hosted. You will not be able to run svnadmin without SSH'ing into the host computer. Consequently, I don't think you can copy the project repository from Google Code, since you will not be able to run "svnadmin dump" from the Google Code server computers. The best you will be able to do, AFAIK, is to use svn export and svn import, which discard history.

You can actually download an svn repo history from Google code via svnsync. See this link from Google http://code.google.com/p/support/wiki/SubversionFAQ#How_do_I_download_my_Subversion_history?

Here's a step by step explanation how to do it with svnsync.

http://blog.projectnibble.org/2011/03/25/using-svnsync-to-migrate-a-remote-svn-repository/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top