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

Re: Populate existing repos from another repository

From: Mark Parker <mark_at_msdhub.com>
Date: 2005-02-18 18:03:52 CET

Bryan Donlan wrote:
> Conner, Shawn wrote:
>
>> We have 2 existing repos and we would like to combine them. I want to
>> maintain the history. Is there a easy way to do this?
>>
>> Thanks
>> Shawn
>
>
> If you want the two old repositories to be subdirectories of the new
> repository, you can do something like this:
>
> svnadmin create newrepo
> svn mkdir -m 'Creating directories for initial import' \
> file://.../newrepo/one file://.../newrepo/two
> svnadmin dump oldrepo1 | svnadmin load --parent-dir one newrepo
> svnadmin dump oldrepo2 | svnadmin load --parent-dir two newrepo
>

Wouldn't this cause problems with out-of-order commits? I.e. The
repository would think that rev x happened AFTER rev x+n?

I've been secretly considering a tool to "weave" together multiple
dumpfiles. Does anything like this already exist?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 18 18:14:18 2005

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.