diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-17 23:02:48 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 14:48:52 -0800 |
commit | b3e5bce1aa88721dd4565089960997836ce66add (patch) | |
tree | f116da9e6e8987c1587fa0f87c576579f39035ff /alloc.c | |
parent | Merge branch 'jl/maint-pull-tags-doc' (diff) | |
download | tgif-b3e5bce1aa88721dd4565089960997836ce66add.tar.xz |
vcs-svn: Error out for v3 dumps
By ignoring the Text-Delta and Prop-Delta node fields, current svn-fe
happily mistakes deltas for full text and instead of cleanly erroring
out, it produces a valid but semantically bogus fast-import stream
when fed a dump file in the modern "svnadmin dump --deltas" format.
Dump file parsers are supposed to ignore header fields they don't
understand (to allow for backward-compatible extensions), but they are
also supposed to check the SVN-fs-dump-format-version header to
prevent misinterpretation of non backward-compatible extensions.
Do so.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions