diff hgext/blackbox.py @ 26405:c15d8f84343e stable

localrepo: recreate phasecache if changelog was modified (issue4855) Because _phaserevs and _phasesets cache revision numbers, they must be invalidated if there are new commits or stripped revisions. We could do that by calling _phasecache.invalidate(), but it wasn't simple to be integrated with the filecache mechanism. So for now, phasecache will be recreated after repo.invalidate() if 00changelog.i was modified before.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 29 Sep 2015 21:57:08 +0900
parents 328739ea70c3
children e8f9dffca36f
line wrap: on
line diff