--- a/hgext/convert/subversion.py Fri May 07 17:03:31 2010 +0200
+++ b/hgext/convert/subversion.py Sat May 01 16:29:27 2010 +0200
@@ -656,14 +656,10 @@
if fromkind == svn.core.svn_node_file:
entries.append(self.recode(entrypath))
elif fromkind == svn.core.svn_node_dir:
- if ent.action == 'C':
- children = self._find_children(path, prevnum)
- else:
- oroot = parentpath.strip('/')
- nroot = path.strip('/')
- children = self._find_children(oroot, prevnum)
- children = [s.replace(oroot, nroot) for s in children]
-
+ oroot = parentpath.strip('/')
+ nroot = path.strip('/')
+ children = self._find_children(oroot, prevnum)
+ children = [s.replace(oroot, nroot) for s in children]
for child in children:
childpath = self.getrelpath("/" + child, pmodule)
if not childpath: