diff mercurial/bundlerepo.py @ 43533:642433629e20

revlog: deal with nodemap deletion within the index Since the nodemap data now live in the index, it should be the index responsibility to ensure the data are up to date. The C version of the index is already dealing with such deletion. This work is part of a refactoring to unify the revlog index and the nodemap. This unification prepare the use of a persistent nodemap. Differential Revision: https://phab.mercurial-scm.org/D7321
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 09 Nov 2019 05:54:22 +0100
parents 9f70512ae2cf
children 5f347567589b
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Fri Nov 08 10:01:10 2019 +0100
+++ b/mercurial/bundlerepo.py	Sat Nov 09 05:54:22 2019 +0100
@@ -93,7 +93,6 @@
                 node,
             )
             self.index.append(e)
-            self.nodemap[node] = n
             self.bundlerevs.add(n)
             n += 1