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

Re: Copy data from one repos to another and history should not be losed

From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Wed, 13 Jan 2010 17:50:19 -0600

On Jan 11, 2010, at 02:48, Ullrich Jans wrote:

> Ryan Schmidt wrote:
>
>> On Jan 5, 2010, at 06:02, Chetan Chatwani wrote:
>>
>>> We have two repositories names as : bmrepos and bmdevrepos.
>>> We want to copy/add data from bmrepos to bmdevrepos but history
>>> should not losed.
>>>
>>> Note: bpmrepos already have some contents.
>>
>> Yes, you can do this with "svnadmin dump" and "svnadmin load".
>
> But watch out: the dates in the revisions will not be linear afterwards, so searching for revisions by date will not work any more. (AFAIK)

That's right. If that's a concern, dump both repositories, merge them together interlacing their revisions in chronological order, and load them into a third new repository. This is one of the tasks the svndumptool script can help you accomplish.

http://svn.borg.ch/svndumptool/
Received on 2010-01-14 00:51:01 CET

This is an archived mail posted to the Subversion Users mailing list.