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

RE: Saving history when converting multiple repos into one?

From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-09-16 17:21:29 CEST

In what sense would it break data-related searches, Josh?

It wouldn't be too hard to whip up a script though, to interleave various revisions and repos.

-----Original Message-----
From: Joshua Varner [mailto:jlvarner@gmail.com]
Sent: Thursday, September 15, 2005 4:35 PM
To: Dale Hirt
Cc: Matthew England; users@subversion.tigris.org
Subject: Re: Saving history when converting multiple repos into one?

On 9/15/05, Dale Hirt <dale@sbcltd.com> wrote:
> Matt,
>
> Look into svnadmin load --parent-dir.
>
> The basic flow goes like this:
>
> 1. Create new repository
> svnadmin create new-repos
>
> 2. Make a directory to hold each old repository
> svn mkdir file://new-repos/oldrepo1dir
> svn mkdir file://new-repos/oldrepo2dir
> svn mkdir file://new-repos/oldrepo3dir
>
> 3. Dump old repositories.
> svnadmin dump oldrepo1 > oldrepo1.load
> svnadmin dump oldrepo2 > oldrepo2.load
> svnadmin dump oldrepo3 > oldrepo3.load
>
> 4. Load old repositories using --parent-dir arg
> svnadmin load new-repos --parent-dir oldrepo1dir < oldrepo1.load
> svnadmin load new-repos --parent-dir oldrepo2dir < oldrepo2.load
> svnadmin load new-repos --parent-dir oldrepo3dir < oldrepo3.load
>
> This will preserve your history into the new repository.
>

This will, however, break data related searchs in the history.
Is there a way to interweave dump files to preserve time?

I didn't see any options in svndumpfilter itself or svnadmin
load. Is there a script to do this? The typical use case is the
reverse so I can see why it hasn't been written if the answer
is no.

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 17:23:42 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.