vcs-svn: Allow simple v3 dumps (no deltas yet)
commit1bd872607299a096df1baa68c8dd0fc22eaae9cc
authorDavid Barr <david.barr@cordelta.com>
Thu, 18 Nov 2010 05:03:51 +0000 (17 23:03 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Nov 2010 22:48:54 +0000 (24 14:48 -0800)
treedab0ec0d30c803ad74a7013b9d92eaf5da8b3d61
parent7b142d276fec06ab9c1df6c53fbfdbf5424485e5
vcs-svn: Allow simple v3 dumps (no deltas yet)

Since the dumpfile version 1 days, the Subversion dump format
gained some new fields:

 - a unique identifier for the repository (version 2 format)
 - whether the text and properties for a node should be
   interpreted as deltas
 - checksums for a delta's preimage
 - SHA-1 sums as alternatives to the existing MD5 checksums for
   copy source and the payload (delta).

For now what is relevant to us is the Text-delta and Prop-delta
fields, since not noticing these causes a dump file to be
misinterpreted (see the previous commit).

[jn: with tests]

Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
svndump.c