Mercurial > hg
diff mercurial/interfaces/repository.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 | 948fac24bc39 |
children | a1f51c7dce0f |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Sun Apr 05 13:12:05 2020 +0200 +++ b/mercurial/interfaces/repository.py Sun Apr 05 18:32:46 2020 +0200 @@ -1395,6 +1395,9 @@ Raises ``error.LookupError`` if the node is not known. """ + def update_caches(transaction): + """update whatever cache are relevant for the used storage.""" + class ilocalrepositoryfilestorage(interfaceutil.Interface): """Local repository sub-interface providing access to tracked file storage.