# HG changeset patch # User Patrick Mezard # Date 1273425062 -7200 # Node ID 7a5a98fc38e99c058ea6a4ceddbaf8d51542a2df # Parent 55abde5cba43f93fc205a6ab522f43fd09fe2d6a convert/svn: remove broken but unused copy filtering code For some reason, if a copy source is deleted in the same revision it is referenced, it is filtered out. This is silly, because this happens all the time with move operations. Fortunately, the filtering code is buggy and ends being a no-op 99% of the time, since it does not delete the right key. Just remove all this nonsense. diff -r 55abde5cba43 -r 7a5a98fc38e9 hgext/convert/subversion.py --- a/hgext/convert/subversion.py Sun May 09 19:11:02 2010 +0200 +++ b/hgext/convert/subversion.py Sun May 09 19:11:02 2010 +0200 @@ -662,11 +662,8 @@ children = [s.replace(oroot, nroot) for s in children] for child in children: childpath = self.getrelpath("/" + child, pmodule) - if not childpath: - continue - if childpath in copies: - del copies[childpath] - entries.append(childpath) + if childpath: + entries.append(childpath) else: self.ui.debug('unknown path in revision %d: %s\n' % \ (revnum, path))