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

Re: Move several repositories into on but keeping the history?

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sun, 9 Aug 2009 19:11:30 -0400

On Sun, Aug 9, 2009 at 4:56 AM, Stephen
Connolly<stephen.alan.connolly_at_gmail.com> wrote:
>
>
> 2009/8/7 Ryan Schmidt <subversion-2009b_at_ryandesign.com>
>>
>> On Aug 7, 2009, at 10:25, Steve Constable wrote:
>>
>> > I'd like to consolidate several repositories into one large one.
>> > What I'm worried about is that I might loose all the history from
>> > each of the repos.
>> > Is there a way to keep the history? I'm imagining that the old
>> > repository numbers would get renumbered...but that I can live with
>> > since that would be unavoidable.
>>
>> Of course you can keep the history. :)
>>
>> 1. "svnadmin dump" each old repository to a file.
>>
>> 2. "svnadmin create" the new repository.

Which provides a temporally out-of-order changelist. This is _begging_
for arbitrary pain, especially if any components happen to come from
the same relative locations. You know, like "[repourl]/trunk", which
is the standard location for an independent repository's main
codeline? Unweaving that into different locations is simply begging
for pain.

The simple answer is "don't". Make a clean break: Lock down the old
repositories, do an "svn export" to a new trunk, and have the first
commit include a pointer to the old repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2381935

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-10 01:12:30 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.