# HG changeset patch # User Pierre-Yves David # Date 1357645311 -3600 # Node ID 769eb1b179b5f508edf2db211511126a5871b452 # Parent 90ce0988d1d6ac94420a03d31775c0264aebb051 branchcache: add note about cache invalidation to test-keyword.t [Should've been included in aff706b3a21c.] --Kevin Bullock [ original upstream message ] diff -r 90ce0988d1d6 -r 769eb1b179b5 tests/test-keyword.t --- a/tests/test-keyword.t Wed Jan 02 01:57:46 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 ' invalid branchheads cache: tip differs invalid branchheads cache (unserved): tip differs