You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chetan Chatwani <ch...@savvion.com> on 2010/01/05 12:02:40 UTC

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

Hi All,

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.


Regards,
Chetan
-- 
View this message in context: http://old.nabble.com/Copy-data-from-one-repos-to-another-and-history-should-not-be-losed-tp27026587p27026587.html
Sent from the Subversion Users mailing list archive at Nabble.com.

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

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

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

Posted by Ul...@elektrobit.com.
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)

Cheers,

Ulli

-- 
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans@elektrobit.com 
Fax: +49 9131 7701-6333, www.elektrobit.com

Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886 


----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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/



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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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/


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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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".

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

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.