Is the "svnadmin dump" format documented somewhere? I want to record a datastructure containing all the metadata for a svn repository, which is essentially the same stuff in the "dump" file except for the file contents itself.
Seems like the svnkit library would have it, or have a way to obtain this metadata programmatically, but I've been running around the svnkit javadoc for the last hour and can't find a way to get what I need without going through more trouble than just parsing the svnadmin dump file myself.
A repository dump stream (often referred to as a “dump file” when stored as a file on a disk) is a portable, flat file format that describes the various revisions in your repository—what was changed, by whom, when, and so on.
Or if you want to load into a subdirectory: $ svnadmin load --parent-dir new/subdir/for/project \ /var/svn/restored < repos-backup <<< Started new txn, based on original revision 1 * adding path : test ... done.
Here you go: SVN Dump File Format Specification
there is a grammar of the subversion dump file format at http://www.cubewano.org/blacktackle/wiki/SubversionTools (via http://subversion.tigris.org/links.html). you might also check out the svn-dump2dir and svn-dir2dump (and the other) scripts there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With