mercurial/changelog.py
changeset 46509 7a93b7b3dc2d
parent 46508 f7b61ad3c64a
child 46607 e9901d01d135
--- a/mercurial/changelog.py	Wed Jan 27 01:43:17 2021 +0100
+++ b/mercurial/changelog.py	Wed Jan 27 02:34:51 2021 +0100
@@ -610,9 +610,9 @@
         just to access this is costly."""
         return self.changelogrevision(rev).branchinfo
 
-    def _nodeduplicatecallback(self, transaction, node):
+    def _nodeduplicatecallback(self, transaction, rev):
         # keep track of revisions that got "re-added", eg: unbunde of know rev.
         #
         # We track them in a list to preserve their order from the source bundle
         duplicates = transaction.changes.setdefault(b'revduplicates', [])
-        duplicates.append(self.rev(node))
+        duplicates.append(rev)