[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: v4r4n <console.cowboy_at_gmail.com>
Date: 2004-10-21 21:17:01 CEST

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

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.

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.

On Thu, 21 Oct 2004 13:18:45 -0500, Brian W. Fitzpatrick
<fitz@collab.net> wrote:
>
> On Oct 21, 2004, at 12:36 PM, Jacob Atzen wrote:
>
> > On tor, okt 21, 2004 at 01:23:59 -0400, David Kramer wrote:
> >> Let's say I have
> >> /data/subversion/foo/devel/blinkled
> >> /data/subversion/foo/devel/bufflog
> >> /data/subversion/foo/devel/commom
> >>
> >> accessed as
> >> svn://localhost/foo/devel/blinkled
> >> svn://localhost/foo/devel/bufflog
> >> svn://localhost/foo/devel/common
> >>
> >> I would like to move all of this mess so they become one repository at
> >> svn://localhost/foo/devel
> >> which would pull blinkled, bufflog, and common down, and they would
> >> share
> >> version numbers, etc.
> >>
> >> How would I do that?
> >
> > How about:
> > svnadmin dump blinkled > blinkled.svn
> > svnadmin dump bufflog > bufflog.svn
> >
> > svnadmin create newrepos
> >
> > [create dir blinkled and bufflog in the new repository]
> >
> > cat blinkled.svn | svnadmin load --parent-dir blinkled newrepos
> > cat bufflog.svn | svnadmin load --parent-dir bufflog newrepos
>
> That will work just fine, but, since Subversion does date-range
> searching linearly, it will break date-range searching in your
> repository. For me, it's not A Big Deal--I have never used date-range
> searching in Subversion (although it was a necessity for me in CVS).
> It might be a big deal for you.
>
> -Fitz
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
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:17:40 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.