##// END OF EJS Templates
convert/svn: remove confusing unicode variable
Patrick Mezard -
r8885:2c184bd2 default
parent child Browse files
Show More
@@ -624,11 +624,10 b' class svn_source(converter_source):'
624 624
625 625 for path, ent in paths:
626 626 entrypath = self.getrelpath(path)
627 entry = entrypath.decode(self.encoding)
628 627
629 628 kind = self._checkpath(entrypath, revnum)
630 629 if kind == svn.core.svn_node_file:
631 entries.append(self.recode(entry))
630 entries.append(self.recode(entrypath))
632 631 if not ent.copyfrom_path or not parents:
633 632 continue
634 633 # Copy sources not in parent revisions cannot be
@@ -641,7 +640,7 b' class svn_source(converter_source):'
641 640 continue
642 641 self.ui.debug(_("copied to %s from %s@%s\n") %
643 642 (entrypath, copyfrom_path, ent.copyfrom_rev))
644 copies[self.recode(entry)] = self.recode(copyfrom_path)
643 copies[self.recode(entrypath)] = self.recode(copyfrom_path)
645 644 elif kind == 0: # gone, but had better be a deleted *file*
646 645 self.ui.debug(_("gone from %s\n") % ent.copyfrom_rev)
647 646 pmodule, prevnum = self.revsplit(parents[0])[1:]
@@ -655,7 +654,7 b' class svn_source(converter_source):'
655 654 self.reparent(prevmodule)
656 655
657 656 if fromkind == svn.core.svn_node_file:
658 entries.append(self.recode(entry))
657 entries.append(self.recode(entrypath))
659 658 elif fromkind == svn.core.svn_node_dir:
660 659 if ent.action == 'C':
661 660 children = self._find_children(path, prevnum)
General Comments 0
You need to be logged in to leave comments. Login now