Mercurial > hg
diff i18n/check-translation.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 | 35c2ea4ca26f |
children | 8fb92ff63ccf |