Mercurial > hg
comparison tests/test-keyword.t @ 18247:da9e544c69d6
branchcache: add note about cache invalidation to test-keyword.t
[Should've been included in aff706b3a21c.]
--Kevin Bullock <kbullock@ringworld.org>
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 08 Jan 2013 12:41:51 +0100 |
parents | aff706b3a21c |
children | 5bb610f87d1d |
comparison
equal
deleted
inserted
replaced
18246:58ca19edc043 | 18247:da9e544c69d6 |
---|---|
744 ? c | 744 ? c |
745 ? log | 745 ? log |
746 | 746 |
747 Commit with multi-line message and custom expansion | 747 Commit with multi-line message and custom expansion |
748 | 748 |
749 |Note: | |
750 | | |
751 | After the last rollback, the "unserved" branchheads cache became invalid, but | |
752 | all changeset in the repo were public. So filtering wise: | |
753 | "mutable" == "unserved" == ΓΈ. | |
754 | | |
755 | As the "unserved" cache is invalid, we fall back to "mutable" cache. But not | |
756 | update is needed between "mutable" and "unserved" cache and the "unserved" | |
757 | cache is not updated on disk. The on disk version therefor stay invalid for | |
758 | some time. This explains why the "unserved" branchheads cache is detect | |
759 | invalid here. | |
760 | |
749 $ hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>' | 761 $ hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>' |
750 invalid branchheads cache: tip differs | 762 invalid branchheads cache: tip differs |
751 invalid branchheads cache (unserved): tip differs | 763 invalid branchheads cache (unserved): tip differs |
752 a | 764 a |
753 invalid branchheads cache: tip differs | 765 invalid branchheads cache: tip differs |