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

Re: Combining multiple repositories into one?

From: Brian W. Fitzpatrick <fitz_at_collab.net>
Date: 2004-10-21 21:21:21 CEST

On Oct 21, 2004, at 2:17 PM, v4r4n wrote:

> Within the svn-book and other places, it is always suggested that you
> start a fresh new repository before combining multiple repositories.

It's not required.

> Is there something dangerous about adding another repository to an
> older repository? What happens with the version numbers? Would the
> version numbers add to each other? So if one is on version 25 and the
> other on 15, the whole repo would be on version 40? I'm hesitating to
> try things first (ask questions later) because these commands are
> 'svnadmin' commands.

if you have two dumpfiles, each with 40 revisions and import them into
a new repository, the first will get revs 1 to 40, and the second will
get 41 to 80.

> The reason I ask is because in my particular situation I'd like to
> turn one repository into a branch of another without losing the
> history.

> I'm not entirely sure this is possible or even a good idea though.

Sure. I did it with Cocoon's CVS repository when converting it to
Subversion in http://svn.apache.org/repos/asf/

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 21 21:22:02 2004

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.