Show More
@@ -675,26 +675,28 b' class svn_source(converter_source):' | |||
|
675 | 675 | # Copies here (must copy all from source) |
|
676 | 676 | # Probably not a real problem for us if |
|
677 | 677 | # source does not exist |
|
678 | if ent.copyfrom_path: | |
|
679 | copyfrompath = self.getrelpath(ent.copyfrom_path.decode(self.encoding)) | |
|
680 | if copyfrompath: | |
|
681 |
|
|
|
682 | self.ui.debug("mark %s came from %s:%d\n" | |
|
683 | % (path, copyfrompath, ent.copyfrom_rev)) | |
|
678 | if not ent.copyfrom_path: | |
|
679 | continue | |
|
680 | copyfrompath = self.getrelpath(ent.copyfrom_path.decode(self.encoding)) | |
|
681 | if not copyfrompath: | |
|
682 | continue | |
|
683 | copyfrom[path] = ent | |
|
684 | self.ui.debug("mark %s came from %s:%d\n" | |
|
685 | % (path, copyfrompath, ent.copyfrom_rev)) | |
|
684 | 686 | |
|
685 |
|
|
|
686 |
|
|
|
687 |
|
|
|
688 |
|
|
|
689 |
|
|
|
690 |
|
|
|
691 |
|
|
|
692 |
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
|
|
|
696 |
|
|
|
697 |
|
|
|
687 | # Good, /probably/ a regular copy. Really should check | |
|
688 | # to see whether the parent revision actually contains | |
|
689 | # the directory in question. | |
|
690 | children = self._find_children(ent.copyfrom_path, ent.copyfrom_rev) | |
|
691 | children.sort() | |
|
692 | for child in children: | |
|
693 | entrypath = self.getrelpath("/" + child) | |
|
694 | if not entrypath: | |
|
695 | continue | |
|
696 | entry = entrypath.decode(self.encoding) | |
|
697 | copytopath = path + entry[len(copyfrompath):] | |
|
698 | copytopath = self.getrelpath(copytopath) | |
|
699 | copies[self.recode(copytopath)] = self.recode(entry) | |
|
698 | 700 | |
|
699 | 701 | return (util.unique(entries), copies) |
|
700 | 702 |
General Comments 0
You need to be logged in to leave comments.
Login now