9

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.

Jason S
  • 184,598
  • 164
  • 608
  • 970

2 Answers2

16

Here you go: SVN Dump File Format Specification

John Gietzen
  • 48,783
  • 32
  • 145
  • 190
MitMaro
  • 5,607
  • 6
  • 28
  • 52
2

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.

ax.
  • 58,560
  • 8
  • 81
  • 72