equal
deleted
inserted
replaced
608 |
608 |
609 This function exists because creating a changectx object |
609 This function exists because creating a changectx object |
610 just to access this is costly.""" |
610 just to access this is costly.""" |
611 return self.changelogrevision(rev).branchinfo |
611 return self.changelogrevision(rev).branchinfo |
612 |
612 |
613 def _nodeduplicatecallback(self, transaction, node): |
613 def _nodeduplicatecallback(self, transaction, rev): |
614 # keep track of revisions that got "re-added", eg: unbunde of know rev. |
614 # keep track of revisions that got "re-added", eg: unbunde of know rev. |
615 # |
615 # |
616 # We track them in a list to preserve their order from the source bundle |
616 # We track them in a list to preserve their order from the source bundle |
617 duplicates = transaction.changes.setdefault(b'revduplicates', []) |
617 duplicates = transaction.changes.setdefault(b'revduplicates', []) |
618 duplicates.append(self.rev(node)) |
618 duplicates.append(rev) |