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

Re: Populate existing repos from another repository

From: Bryan Donlan <bdonlan_at_hikari.afraid.org>
Date: 2005-02-23 21:44:47 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Mark Parker wrote:
| Bryan Donlan wrote:
|
|> Conner, Shawn wrote:
|>
|>> We have 2 existing repos and we would like to combine them. I want to
|>> maintain the history. Is there a easy way to do this?
|>>
|>> Thanks
|>> Shawn
|>
|>
|>
|> If you want the two old repositories to be subdirectories of the new
|> repository, you can do something like this:
|>
|> svnadmin create newrepo
|> svn mkdir -m 'Creating directories for initial import' \
|> file://.../newrepo/one file://.../newrepo/two
|> svnadmin dump oldrepo1 | svnadmin load --parent-dir one newrepo
|> svnadmin dump oldrepo2 | svnadmin load --parent-dir two newrepo
|>
|
| Wouldn't this cause problems with out-of-order commits? I.e. The
| repository would think that rev x happened AFTER rev x+n?

AFAIK, this only breaks date revision specifications, but other than
that it should work.

| I've been secretly considering a tool to "weave" together multiple
| dumpfiles. Does anything like this already exist?

Not as far as I know. Sounds useful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQhzrPPzMPsvJqdmPAQP49wgA29R22DvoFI4wmv/XOTRJ/1hnlknLXl9r
fE5jpGdz+D0h2Itap9BmERFU1guTQ5yfWJEPKJwmEQYbx60KY9ZZYhE/SVA+beKF
IRrXVY1ML7Wvna1j5kAmmr3MBgbX2rz5OaKbOHA1wsB+reNKwPMdrj19r0yqxZSY
Q/0kteBsZQScku6TAeW2Fc2ijLUdsJPjm71+z2PwAwZAQjcmTjTaHosTpKrShsTq
Jg3OLLL5S7L37sJqZHdREBHhTasgHOQCas9o0jc9s3oUtej+4Cb1PL0tQ0nSXPan
5pKiZWi0Fa/wVguvSJ8DB8hf0XKQ+v4sDhWNaa+KXHXKCaHQwMPt/w==
=BWA1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 23 22:15:59 2005

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.