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

Re: Inserting history after the facts?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-06 15:16:56 CET

Ben Collins-Sussman <sussman@collab.net> writes:

> On Fri, 2004-02-06 at 04:27, Arnout Standaert wrote:
>
> > In that case, is it possible to efficiently join the two repositories,
> > so that I get one big SVN repository, with a consistent history (ie,
> > starting from initial CVS import until 2005 )?
>
> Sure, it's possible. You would need to dump the "later" repository, and
> then 'svnadmin load' it onto the end of the converted repository. Of
> course, the revnums would change, so every working copy in the universe
> would be invalidated.
>
> Hm, I also wonder if copyfrom-rev: arguments would be wrong...

Wow. Hands waving so fast they're just a blur... :-)

If it were just a simple matter of 'svnadmin load'ing a new dumpfile,
then copyfrom-rev arguments should be fine. But it likely won't be
that easy. If the older repos has a /trunk/tags/branches setup, and
the younger one does too (which, if you used cvs2svn on these CVS
repositories is the case) -- well, you're just begging for some kind
of name clashing to happen, at the very least in the /trunk, /tags,
and /branches directory themselves.

If you anticipate this scenario ever occurring, you'll want to setup a
repository with an alternate layout, such as /project/trunk,
/project/tags, /project/branches. Heck, even if you lacked this
foresight, you could 'svn mkdir' and 'svn mv' your current layout into
such a new shape prior to loading the next dumpfile in.

Regardless, working copies of the first repo should be fine. And your
mail leads me to believe that there'd be no working copies of the
latter repos yet because it was just created from a repos conversion
process. But if there were, yeah, those folks would need to
re-checkout after the big merger.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 6 15:17:38 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.