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.
--- 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))