Mercurial > hg
changeset 41933:2eee280a1354
updatecaches: also warm revbranchcache for filtered revisions
We are in the "full" case, so we better warm everything we can.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 11 Mar 2019 02:32:21 +0100 |
parents | 7694b685bb10 |
children | 481259af4bdf |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Feb 13 15:50:14 2019 +0530 +++ b/mercurial/localrepo.py Mon Mar 11 02:32:21 2019 +0100 @@ -2085,8 +2085,9 @@ self.filtered('served').branchmap() if full: - rbc = self.revbranchcache() - for r in self.changelog: + unfi = self.unfiltered() + rbc = unfi.revbranchcache() + for r in unfi.changelog: rbc.branchinfo(r) rbc.write()