
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Repository Maintenance
|
101
file:///path/to/projects/calendar \
file:///path/to/projects/spreadsheet
Committed revision 1.
$
Lastly, load the individual dumpfiles into their respective locations in the new reposi-
tory:
$ svnadmin load /path/to/projects --parent-dir calc < calc-dumpfile
...
$ svnadmin load /path/to/projects --parent-dir calendar < cal-dumpfile
...
$ svnadmin load /path/to/projects --parent-dir spreadsheet < ss-dumpfile
...
$
We want to mention one final way to use the Subversion repository dump format—
conversion from a different storage mechanism or version control system altogether.
Because the dump file format is, for the most part, human-readable (resembling an
RFC-822 format, the same type of format used for most email). it should be rela-
tively easy to describe generic sets of changes—each of which should be treated as a
new revision—using this file format. In fact, the
cvs2svn.py utility (see “Converting a
Repository from CVS to Subversion” in Appendix A) uses the dump format to repre-
sent the contents of a CVS repository so that those contents can be moved in a Sub-
version repository.
Repository Backup
Despite numerous advances in technology since the birth of the modern computer,
one thing unfortunately rings true with crystalline clarity—sometimes, things go
very, ...