# HG changeset patch # User Pierre-Yves David # Date 1358291366 -3600 # Node ID ed05e4372751761319cb18f5c6dd201c8964e31d # Parent 10e27c438792a66accee5563141c6b70555611a4 destroyed: drop complex branchcache rebuilt logic The strip code used a trick to lower the cost of branchcache update after a strip. However is less necessary since we have branchcache collaboration. Invalid branchcache are likely to be cheaply rebuilt again a near subset of the repo. Moreover, this trick would need update to be relevant in the now filtered repository world. It currently update the unfiltered branchcache that few people cares about. Make it smarter on that aspect would need complexes update of the calling logic So this mechanism is: - Arguably needed, - Currently irrelevant, - Hard to update and I'm dropping it. We now update the branchcache in all case by courtesy of the read only reader. This changeset have a few expected impact on the testsuite are different cache are updated. [ original upstream message ] diff -r 10e27c438792 -r ed05e4372751 tests/test-keyword.t --- a/tests/test-keyword.t Wed Jan 16 00:08:08 2013 +0100 +++ b/tests/test-keyword.t Wed Jan 16 00:09:26 2013 +0100 @@ -507,6 +507,7 @@ $ hg -q commit -d '14 1' -m 'prepare amend' $ hg --debug commit --amend -d '15 1' -m 'amend without changes' | grep keywords + invalid branchheads cache (served): tip differs overwriting a expanding keywords $ hg -q id 67d8c481a6be