# HG changeset patch # User Patrick Mezard # Date 2008-01-17 22:46:56 # Node ID 0d583ade58178bdce652353f99316f446d96d3a2 # Parent e7127f669edb771e90fd6ef6bf43dd2a91698eca convert: don't scan directories on property changes diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -508,6 +508,9 @@ class svn_source(converter_source): # 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