branchcache: add note about cache invalidation to test-keyword.t
[Should've been included in
aff706b3a21c.]
--Kevin Bullock <kbullock@ringworld.org>
--- a/tests/test-keyword.t Wed Jan 02 02:02:41 2013 +0100
+++ b/tests/test-keyword.t Tue Jan 08 12:41:51 2013 +0100
@@ -746,6 +746,18 @@
Commit with multi-line message and custom expansion
+|Note:
+|
+| After the last rollback, the "unserved" branchheads cache became invalid, but
+| all changeset in the repo were public. So filtering wise:
+| "mutable" == "unserved" == ΓΈ.
+|
+| As the "unserved" cache is invalid, we fall back to "mutable" cache. But not
+| update is needed between "mutable" and "unserved" cache and the "unserved"
+| cache is not updated on disk. The on disk version therefor stay invalid for
+| some time. This explains why the "unserved" branchheads cache is detect
+| invalid here.
+
$ hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>'
invalid branchheads cache: tip differs
invalid branchheads cache (unserved): tip differs