# HG changeset patch # User Pierre-Yves David # Date 2013-01-08 11:41:51 # Node ID da9e544c69d60ddcd9280210849c2c4e322a96dd # Parent 58ca19edc043056248ce896e81f414566500f320 branchcache: add note about cache invalidation to test-keyword.t [Should've been included in aff706b3a21c.] --Kevin Bullock diff --git a/tests/test-keyword.t b/tests/test-keyword.t --- a/tests/test-keyword.t +++ b/tests/test-keyword.t @@ -746,6 +746,18 @@ Interrupted commit should not change sta 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 ' invalid branchheads cache: tip differs invalid branchheads cache (unserved): tip differs