# HG changeset patch # User Pierre-Yves David # Date 2019-11-09 12:23:53 # Node ID 698e11f7be6a74ac440226dff1622ea006cbb9da # Parent 4d8a4ecbb8b93973ccc3ded642da4eab1d557507 index: use `index.rev` in `bundlerepo.bundlerevlog` Differential Revision: https://phab.mercurial-scm.org/D7340 diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -66,7 +66,7 @@ class bundlerevlog(revlog.revlog): link = linkmapper(cs) if self.index.has_node(node): # this can happen if two branches make the same change - self.bundlerevs.add(self.nodemap[node]) + self.bundlerevs.add(self.index.rev(node)) continue for p in (p1, p2):