vcs-svn: Eliminate node_ctx.srcRev global
commit317a652f2064428c7c6a801c11ffe5322ccf259a
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 20 Nov 2010 00:46:22 +0000 (19 18:46 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Nov 2010 22:51:42 +0000 (24 14:51 -0800)
tree9cccbc4e07b7607e0cfe1153fc430defe225d444
parent4d1531e268933bc53f015da932902c5fb867a455
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>
svndump.c