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

Re: Merging a repository dump with a new repository

From: Jörg Heßdörfer <Joerg.Hessdoerfer_at_sea-gmbh.com>
Date: 2007-12-03 10:49:21 CET

Hi,

On Saturday 01 December 2007 10:53, Ewgenij Sokolovski wrote:
> Hello, guys. I'm not so experienced with subversion, so I got a little bit
> confused with the issue I want to discuss here. I had a svn-repository on
> server A. Then I decided to migrate it to server B. Fine :) I made a dump
> and sent it to B's admins expecting them to load it on server B. But the
> admins couldn't do that for some reason I don't know. So I just checked in
> the actual version of my repository on server B, as if there were no
> history on A at all. After a week and several revisions on B, the admins
> were able to load my old dump. So now I got two repositories:
>
> 1) The repository containing the contents of the old dump
> 2) The repository with my most new project revisions
>
> Now, how could I merge these two things together? Is it possible at all?
>
> Greetings
> Ewgenij

Actually, that seems pretty easy, assuming the first revision on server B is
exactly the last revision on server A.

Recipe:

- Create a new repo
- Load in dump from A
- Dump from B, using '--incremental -r 1:HEAD'
- Load this dump onto the new repo

This should give you a continuous history.
We use this technique together with branching sometimes for 'repos to go' in
our projects where we are on the road for longer integration periods and have
no direct internet access.

Regards,
        Jörg

-- 
S.E.A. Datentechnik GmbH
Jörg Heßdörfer, Leiter Softwareentwicklung
Linder Höhe
51147 Köln
Tel.: +49-2203-98007-0
Fax.: +49-2203-98007-14
E-Mail: Joerg.Hessdoerfer@sea-gmbh.com
Web   : http://www.sea-gmbh.com
Informationen nach 37aHGB, 35a GmbH-Gesetz: 
S.E.A. 
Science & Engineering Applications 
Datentechnik GmbH 
Sitz der Gesellschaft Köln 
Handelsregister Köln HRB 27016 
Geschäftsführer: Dr. Gerd Schmitz, Wolfram Koerver 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 3 10:48:45 2007

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.