[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: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-09-16 01:34:56 CEST

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 01:36:38 2005

This is an archived mail posted to the Subversion Users mailing list.