diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-19 18:53:34 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 14:52:51 -0800 |
commit | c7dbf35e91cffbc326078d0c0470662f6422150d (patch) | |
tree | f1894b4a1b41af1730d3a3e018a6abfc9d501403 /help.c | |
parent | vcs-svn: Reject path nodes without Node-action (diff) | |
download | tgif-c7dbf35e91cffbc326078d0c0470662f6422150d.tar.xz |
vcs-svn: More dump format sanity checks
Node-action: change is not appropriate when switching between file and
directory or adding a new file. Current svn-fe silently accepts such
nodes and the resulting tree has missing files in the "changed when
meant to add" case.
Node-action: add requires some content (text or directory); there is
no such thing as an "intent to add" node in svn dumps. Current svn-fe
accepts such contentless adds but produces an invalid fast-import
stream that refers to nonexistent mark :0 in response.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions