convert: don't scan directories on property changes
authorPatrick Mezard <pmezard@gmail.com>
Thu, 17 Jan 2008 23:46:56 +0100
changeset 5870 0d583ade5817
parent 5865 e7127f669edb
child 5871 c1244685425a
convert: don't scan directories on property changes
hgext/convert/subversion.py
--- 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