Migrating repo data and changing structure.
From: Shane McGovern <smcgovern_at_affordablemagic.com>
Date: Sat, 16 Feb 2008 10:56:27 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hi
I hope you can help.
I am doing 2 things:
1. Migrating my repo from a local machine to a remote host.
2. Trying to fragment my single large repo into smaller repos.
So, my original repo is:
/usr/local/svn/repos
It contains a bunch of projects, here are some examples, with their
repos
If I checkout www.repoman.com, I get the structure highlighted above. If
These are the commands I have been using:
$: svnadmin dump /usr/local/svn/repos -q -r 0:HEAD > repos.dumpfile
This gets a huge dump of repos. To get www.highfive.com I run:
$: svndumpfilter include www.highfive.com < repos.dumpfile >
I then import it into a new repos made especially for www.highfive.com
$: svnadmin create www.highfive.com
$: svnadmin load www.highfive.com < www.highfive.com.dumpfile
When I check the new www.highfive.com repo, sure enough most of the data
iD8DBQFHtzHaRZgP6dNgieoRAtPwAJwLEWZi2pqvLNokVvK5DYHOzIFwNACfUsSX
---------------------------------------------------------------------
|
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.