author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 20 Nov 2010 00:46:22 +0000 (18:46 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 24 Nov 2010 22:51:42 +0000 (14:51 -0800) | ||
commit | 1d13e9f600986b7ced8db37a9a9c4967ee7ff9d5 | |
tree | 432a8b05d3979c5b826b2e8be31c243d036214be | tree | snapshot |
parent | 5c28a8b054cb69a37638b0261fc370422c8fab58 | commit | diff |
vcs-svn: Eliminate node_ctx.srcRev global
The srcRev variable is only used in handle_node(); its purpose
is to hold the old mode for a path, to only be used if properties
are not being changed. Narrow its scope to make its meaningful
lifetime more obvious.
No functional change intended. Add some tests as a sanity-check
for the simplest case (no renames).
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The srcRev variable is only used in handle_node(); its purpose
is to hold the old mode for a path, to only be used if properties
are not being changed. Narrow its scope to make its meaningful
lifetime more obvious.
No functional change intended. Add some tests as a sanity-check
for the simplest case (no renames).
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 |