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