##// END OF EJS Templates
convert/svn: tree conflicts no longer happen now we use memctx
Patrick Mezard -
r11123:8dd69bee stable
parent child Browse files
Show More
@@ -656,14 +656,10 b' class svn_source(converter_source):'
656 if fromkind == svn.core.svn_node_file:
656 if fromkind == svn.core.svn_node_file:
657 entries.append(self.recode(entrypath))
657 entries.append(self.recode(entrypath))
658 elif fromkind == svn.core.svn_node_dir:
658 elif fromkind == svn.core.svn_node_dir:
659 if ent.action == 'C':
659 oroot = parentpath.strip('/')
660 children = self._find_children(path, prevnum)
660 nroot = path.strip('/')
661 else:
661 children = self._find_children(oroot, prevnum)
662 oroot = parentpath.strip('/')
662 children = [s.replace(oroot, nroot) for s in children]
663 nroot = path.strip('/')
664 children = self._find_children(oroot, prevnum)
665 children = [s.replace(oroot, nroot) for s in children]
666
667 for child in children:
663 for child in children:
668 childpath = self.getrelpath("/" + child, pmodule)
664 childpath = self.getrelpath("/" + child, pmodule)
669 if not childpath:
665 if not childpath:
General Comments 0
You need to be logged in to leave comments. Login now