Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 44787:97ebdb192b00
nodemap: also warm manifest nodemap with other caches
The `hg debugupdatecache` command now also warm the persistent nodemap for the
manifest (when applicable).
Differential Revision: https://phab.mercurial-scm.org/D8411
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 05 Apr 2020 18:32:46 +0200 |
parents | c6d31e659a28 |
children | 6493f0a567c2 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Apr 05 13:12:05 2020 +0200 +++ b/mercurial/localrepo.py Sun Apr 05 18:32:46 2020 +0200 @@ -2509,6 +2509,7 @@ unfi = self.unfiltered() self.changelog.update_caches(transaction=tr) + self.manifestlog.update_caches(transaction=tr) rbc = unfi.revbranchcache() for r in unfi.changelog: