comparison mercurial/localrepo.py @ 44864: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
comparison
equal deleted inserted replaced
44863:640d5b3bd060 44864:97ebdb192b00
2507 2507
2508 if full: 2508 if full:
2509 unfi = self.unfiltered() 2509 unfi = self.unfiltered()
2510 2510
2511 self.changelog.update_caches(transaction=tr) 2511 self.changelog.update_caches(transaction=tr)
2512 self.manifestlog.update_caches(transaction=tr)
2512 2513
2513 rbc = unfi.revbranchcache() 2514 rbc = unfi.revbranchcache()
2514 for r in unfi.changelog: 2515 for r in unfi.changelog:
2515 rbc.branchinfo(r) 2516 rbc.branchinfo(r)
2516 rbc.write() 2517 rbc.write()