Code

vcs-svn: Replace = Delete + Add
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 20 Nov 2010 00:49:55 +0000 (18:49 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Nov 2010 22:51:43 +0000 (14:51 -0800)
commit6ee4a9be48ee714ddacf313a7073dabdd6c6ee11
treebfd567f89a2be9affd3994e54abf555984bcaefe
parent5af8fae2df03d1888dbf315da29d1cdaa6214f57
vcs-svn: Replace = Delete + Add

Simplify by reducing the "Node-action: replace" case to "Node-action:
add".  This way, the main part of handle_node() only has to deal with
"add" and "change" nodes.

Functional change: replacing a symlink or executable without setting
properties will reset the mode.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
vcs-svn/svndump.c