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

Re: merge repositories

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 26 Sep 2008 20:41:44 -0500

On Sep 26, 2008, at 08:00, NASCIMENTO eduardo wrote:

> Schroeder, Hartmut wrote:
>
>> I need to combine a couple of repositories.
>>
>> Is there a possibility to catch all content of one repository A
>> and copy
>> it to a repository B with the result that repository A is a path
>> within
>> repository B - and the svn log command will see the history of both
>> repos?
>
> Give a look at the svndumptool (http://svn.borg.ch/svndumptool). The
> merge option is probably what you want.

Right.

Subversion comes with the "svnadmin" command which can already do
this: "svnadmin dump" one repository and use "svnadmin load --parent-
dir" to load it into the other. The disadvantage of this method is
that all revisions will not be in chronological order, so the "-r
{date}" syntax will not work. You will need to check out new working
copies of the repository you dumped, but not of the repository you
loaded into.

The other option is to "svnadmin dump" both repositories, combine
them with "svndumptool.py merge", then "svnadmin load --ignore-uuid"
this into a new repository. The disadvantage of this method is that
all revisions will be renumbered, so if you refer to other revisions
by number in your commit messages, they won't be accurate anymore.
You will need to check out new working copies of everything.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-27 03:42:12 CEST

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

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