changeset 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 58ca19edc043
children 378a025ff269
files tests/test-keyword.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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