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

Re: Combining two repositories

From: Alan Barrett <apb_at_cequrux.com>
Date: 2005-10-22 00:12:35 CEST

On Fri, 21 Oct 2005, Serge Wroclawski wrote:
> I have two repositories which I'd like to combine into one.
>
> In the new future, the repository would look like
>
> /
> -/repo1
> -/repo2
>
> I don't know how, if it's at all possible, to combine the repositories and
> still retain all the history?

Something like this should work:

svnadmin dump /path/to/old/repo1 >repo1.dump
svnadmin dump /path/to/old/repo2 >repo2.dump
svnadmin create /path/to/new/repo
svnadmin load --ignore-uuid --parent-dir repo1 /path/to/new/repo <repo1.dump
svnadmin load --ignore-uuid --parent-dir repo2 /path/to/new/repo <repo2.dump

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 22 00:15:48 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.