diff hgext/convert/subversion.py @ 5870:0d583ade5817

convert: don't scan directories on property changes
author Patrick Mezard <pmezard@gmail.com>
date Thu, 17 Jan 2008 23:46:56 +0100
parents 8b95f598097c
children c1244685425a
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Wed Jan 16 11:32:25 2008 -0600
+++ b/hgext/convert/subversion.py	Thu Jan 17 23:46:56 2008 +0100
@@ -508,6 +508,9 @@
 
                 # If the directory just had a prop change,
                 # then we shouldn't need to look for its children.
+                if ent.action == 'M':
+                    continue
+
                 # Also this could create duplicate entries. Not sure
                 # whether this will matter. Maybe should make entries a set.
                 # print "Changed directory", revnum, path, ent.action, ent.copyfrom_path, ent.copyfrom_rev