diff mercurial/localrepo.py @ 44445:336ec75ed1ac

nodemap: warm the persistent nodemap on disk with debugupdatecache When appropriate, the nodemap cache file will be created. Differential Revision: https://phab.mercurial-scm.org/D8173
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 18 Feb 2020 19:11:13 +0100
parents 6306baa7d19a
children 9d2b2df2c2ba
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Feb 29 19:31:33 2020 +0100
+++ b/mercurial/localrepo.py	Tue Feb 18 19:11:13 2020 +0100
@@ -2504,6 +2504,9 @@
 
         if full:
             unfi = self.unfiltered()
+
+            self.changelog.update_caches(transaction=tr)
+
             rbc = unfi.revbranchcache()
             for r in unfi.changelog:
                 rbc.branchinfo(r)