Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundlerepo.py @ 43612:698e11f7be6a
index: use `index.rev` in `bundlerepo.bundlerevlog`
Differential Revision: https://phab.mercurial-scm.org/D7340
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:53 +0100 |
parents | 5f347567589b |
children | 88d5abec8f61 |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Sat Nov 09 13:23:53 2019 +0100 +++ b/mercurial/bundlerepo.py Sat Nov 09 13:23:53 2019 +0100 @@ -66,7 +66,7 @@ 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):