[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: Bryan Donlan <bdonlan_at_hikari.afraid.org>
Date: 2005-02-15 23:33:47 CET

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

Received on Tue Feb 15 23:36:15 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.