author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 20 Nov 2010 00:53:34 +0000 (18:53 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 24 Nov 2010 22:52:51 +0000 (14:52 -0800) | ||
commit | c7dbf35e91cffbc326078d0c0470662f6422150d | |
tree | f1894b4a1b41af1730d3a3e018a6abfc9d501403 | tree | snapshot |
parent | 414e569e453a49171b1f3db613f88378324104e8 | commit | diff |
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>
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>
t/t9010-svn-fe.sh | diff | blob | history | |
vcs-svn/svndump.c | diff | blob | history |