9
votes

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.

2

2 Answers

2
votes

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.