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

Re: Copying from one repository to another

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 5 Jun 2008 17:05:24 -0400

On Thu, Jun 5, 2008 at 4:42 PM, Robert Dailey <rcdailey_at_gmail.com> wrote:
> Hi,
>
> If I have a project located in the following:
>
> svn://foo.myrepo1.net/svn/myproject
>
> and I want to move it to a completely new repository here:
>
> https://bar.myrepo2.com/svn/blah/myproject
>
> How would I do this? I would prefer to retain any history for this project
> in the new copy.

You can't with a Subversion client. Subversion does not support
copying between repositories.

If you're taking an existing project and splitting it out into its
own, new repository, run svnadmin dump on the old repository, filter
the dumpfile to only include the path(s) you need, then svnadmin load
the resulting file into the new repository. I think this is outlined
in the book, http://svnbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-05 23:05:35 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.