You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Shane McGovern <sm...@affordablemagic.com> on 2008/02/16 18:56:27 UTC
Migrating repo data and changing structure.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
structure:
repos
~ |
~ |_www.hifive.com
~ | |_ trunk
~ | | |_ *some files*
~ | |
~ | |_ tags
~ | | |_ 010207.1.0
~ | | | |_ *some files folders representing trunk at point x*
~ | | |_ 050608.1.1
~ | | |_ *some files folders representing trunk at point x*
~ | |
~ | |_ branches
~ | |_*some files folders representing trunk at point x*
~ |
~ |_www.repoman.com
~ |_ trunk
~ | |_ *some files*
~ |
~ |_ tags
~ | |_ 050603.1.0
~ | | |_ *some files folders representing trunk at point x*
~ | |_ 010401.1.2
~ | | |_ *some files folders representing trunk at point x*
~ | |_ 030308.7.3
~ | | |_ *some files folders representing trunk at point x*
~ | |_ 040109.0.1
~ | |_ *some files folders representing trunk at point x*
~ |
~ |_ branches
~ |_*some files folders representing trunk at point x*
If I checkout www.repoman.com, I get the structure highlighted above. If
however I dump repos and then run svndumpfilter to only include
www.repoman.com, all I see is its initial commit to repos, the version
of files in trunk, tags and branches are essentially missing. Why?
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 >
www.highfive.com.dumpfile
I then import it into a new repos made especially for www.highfive.com
rather than lump it again into a single repos as it was originally:
$: 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
is missing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHtzHaRZgP6dNgieoRAtPwAJwLEWZi2pqvLNokVvK5DYHOzIFwNACfUsSX
/jhTqO9BKdmDcb9Pubxp1Lc=
=On19
-----END PGP SIGNATURE-----