comparison tests/test-keyword.t @ 18395:904b7109938e

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.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 16 Jan 2013 00:09:26 +0100
parents 5010448197bc
children 593eb3786165
comparison
equal deleted inserted replaced
18394:5010448197bc 18395:904b7109938e
505 $ echo amend >> a 505 $ echo amend >> a
506 $ echo amend >> b 506 $ echo amend >> b
507 $ hg -q commit -d '14 1' -m 'prepare amend' 507 $ hg -q commit -d '14 1' -m 'prepare amend'
508 508
509 $ hg --debug commit --amend -d '15 1' -m 'amend without changes' | grep keywords 509 $ hg --debug commit --amend -d '15 1' -m 'amend without changes' | grep keywords
510 invalid branchheads cache (served): tip differs
510 overwriting a expanding keywords 511 overwriting a expanding keywords
511 $ hg -q id 512 $ hg -q id
512 67d8c481a6be 513 67d8c481a6be
513 $ head -1 a 514 $ head -1 a
514 expand $Id: a,v 67d8c481a6be 1970/01/01 00:00:15 test $ 515 expand $Id: a,v 67d8c481a6be 1970/01/01 00:00:15 test $