[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: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Thu, 25 Mar 2010 11:48:48 -0000

Hi,

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/

(I haven't tried it, it's just something I found and
bookmarked when investigating Subversion)

> The simplest way would surely be to say:
> $ svnadmin dump Base/ base.dmp
> $ svnadmin dump Develop/ develop.dmp
> $ svnadmin load --parent-dir "Base/" Merged/ < base.dmp
> $ svnadmin load --parent-dir "Develop/" Merged/ < develop.dmp
> However, this does not semantically respect the correct time order
>[...]
> Will "svnadmin load" keep the commit dates

Yes. They're just a revision property.

> and if so, what would be the outcome of, say,
> "svn update -r {someDate}"?)

Undefined (and unpredictable). My understanding is that this
does a binary search, which will go haywire if your dates
aren't monotonically increasing. So you can't use it on
such repositories.

Kind regards,

Jon

--
(Please direct all replies to the mailing list)
**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd.
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.
Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232
Co. Registered in England number 02817269
Please contact the sender if you believe you have received this email in error.
**********************************************************************
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on 2010-03-25 12:49:21 CET

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.