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

Re: Combining multiple repositories into one?

From: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2004-10-21 20:18:45 CEST

On Oct 21, 2004, at 12:36 PM, Jacob Atzen wrote:

> On tor, okt 21, 2004 at 01:23:59 -0400, David Kramer wrote:
>> Let's say I have
>> /data/subversion/foo/devel/blinkled
>> /data/subversion/foo/devel/bufflog
>> /data/subversion/foo/devel/commom
>>
>> accessed as
>> svn://localhost/foo/devel/blinkled
>> svn://localhost/foo/devel/bufflog
>> svn://localhost/foo/devel/common
>>
>> I would like to move all of this mess so they become one repository at
>> svn://localhost/foo/devel
>> which would pull blinkled, bufflog, and common down, and they would
>> share
>> version numbers, etc.
>>
>> How would I do that?
>
> How about:
> svnadmin dump blinkled > blinkled.svn
> svnadmin dump bufflog > bufflog.svn
>
> svnadmin create newrepos
>
> [create dir blinkled and bufflog in the new repository]
>
> cat blinkled.svn | svnadmin load --parent-dir blinkled newrepos
> cat bufflog.svn | svnadmin load --parent-dir bufflog newrepos

That will work just fine, but, since Subversion does date-range
searching linearly, it will break date-range searching in your
repository. For me, it's not A Big Deal--I have never used date-range
searching in Subversion (although it was a necessity for me in CVS).
It might be a big deal for you.

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 21 20:19:19 2004

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.