[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 00:49:51 CEST

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.

HTH,

Dale

-----Original Message-----
From: Matt England [mailto:mengland@mengland.net]
Sent: Thursday, September 15, 2005 3:40 PM
To: users@subversion.tigris.org
Cc: mengland@mengland.net
Subject: Saving history when converting multiple repos into one?

My software development group is attempting to convert multiple Subversion
repositories into a larger, single repository. We would make each original
stand-alone repo as a subdirectory into the larger repository.

Our question: how can we do this and still make the file-revision history
from the original repositories available in the new repository?

-Matt

---------------------------------------------------------------------
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 Fri Sep 16 00:51:17 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.