[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to move my code to another SVN repo

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 6 Apr 2011 10:22:16 -0500

On Apr 6, 2011, at 01:28, richardcavell_at_mail.com wrote:

> I'm developing an open source Wikipedia bot. Currently it's hosted on an SVN repo that's on a guy's private computer. We'll say it's at blah.com. I don't control that computer and cannot log into it, although I do have commit rights. Now that my code is good enough to post publicly, I want to host it on the SourceForge SVN repo instead of this guy's private computer. Sourceforge says that the SVN repo (which is currently empty) can be checked out using this command:
>
> svn co https://rcavellbot.svn.sourceforge.net/svnroot/rcavellbot rcavellbot
>
> Obviously I do not control SourceForge's servers. Is it possible for me to use svnsync to migrate blah.com's repo to SourceForge? If so, what svnsync command do I need to pull the entire repo from blah.com into SourceForge, and use the SourceForge repo for all future commits? Obviously I want my local working directory to use SourceForge in future.

Yes, you should be able to do that. You may need to first svnsync the current repository to a temporary repository on your local machine, then svnsync that temporary repository to SourceForge. Or you may be able to do it directly in one step. I don't remember exactly what steps I had to do when I migrated one of my repositories to Google Code a couple years ago.
Received on 2011-04-06 17:22:53 CEST

This is an archived mail posted to the Subversion Users mailing list.