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

Re: merging repositories

From: Tobias G. Pfeiffer <tgpfeiffer_at_web.de>
Date: Fri, 26 Mar 2010 12:27:53 +0100

Hi,

thanks for your reply!

Am Donnerstag, 25. März 2010, 12:48 schrieb Jon Foster:
> Tobias wrote:
> > I have a project with two different repositories,
> > that I want to merge into one common repository.
>
> Would "svndumptool merge" do what you want?
>
> http://svn.borg.ch/svndumptool/

A comment at the top of svndump/merge.py says "handle copyfrom-rev !!!",
so I'm afraid it does not ;-)

I hoped that this repository merging would be a problem that many people
before me have experienced and that there would be an easy solution for
that... and still hope I don't have to touch the dumps to modify
revision numbers myself... but if so, is my interpretation (see below)
of what "svnadmin load" does correct, w.r.t. references to previous
revisions?

> ...when a commit (say, rev100) from repoA refers to some commit
> in the past of repoA (say, rev98).
> With a normal "svnadmin load" (loading repoA:rev100 into
> repoC:rev500), this will work, as this command internally seems to
> say "don't use revision number 98, but the commit two revisions
> before", which isn't 98 any more, but 498 now.

Regards,
Tobias

-- 
I may disagree with what you have to say, but I shall
defend to the death your right to say it.
                   -- Voltaire

Received on 2010-03-26 12:28:32 CET

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