Mercurial > hg-stable
changeset 35706:5748f404dad3
repair: drop unnecessary phase cache invalidation
After stripping the revlogs, we have been invalidating the phase cache
since bf7b8157c483. Later, in 8e3021fd1a44, I added a call to
phasecache.filterunknown(). I apparently didn't realize it then, but I
now think that that call made the existing phasecache.invalidate()
call unnecessary, so this patch drops it. Both the test added in
bf7b8157c483 and the entire evolve extension test suite indeed still
pass.
Differential Revision: https://phab.mercurial-scm.org/D1864
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 14 Jan 2018 23:37:06 -0800 |
parents | 8cdb671dbd0b |
children | 54074a82e050 |
files | mercurial/repair.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repair.py Mon Jan 15 15:20:02 2018 -0800 +++ b/mercurial/repair.py Sun Jan 14 23:37:06 2018 -0800 @@ -222,8 +222,6 @@ if not repo.ui.verbose: repo.ui.popbuffer() f.close() - repo._phasecache.invalidate() - with repo.transaction('repair') as tr: bmchanges = [(m, repo[newbmtarget].node()) for m in updatebm]