diff mercurial/unionrepo.py @ 43581: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 c59eb1560c44
children f212cc5ffceb
line wrap: on
line diff
--- a/mercurial/unionrepo.py	Fri Nov 08 10:01:10 2019 +0100
+++ b/mercurial/unionrepo.py	Sat Nov 09 05:54:22 2019 +0100
@@ -83,7 +83,6 @@
                 node,
             )
             self.index.append(e)
-            self.nodemap[node] = n
             self.bundlerevs.add(n)
             n += 1