# HG changeset patch # User Alexis S. L. Carvalho # Date 2006-10-24 20:49:48 # Node ID 89820e9b94f22c9943d05ff535c3188e1e1886cd # Parent bd8339976504f6b593a6c4486970a437bc435328 test-mq-caches: look up a revision that does not exist to force cache creation diff --git a/tests/test-mq-caches b/tests/test-mq-caches --- a/tests/test-mq-caches +++ b/tests/test-mq-caches @@ -6,6 +6,8 @@ echo 'hgext.mq=' >> $HGRCPATH show_branch_cache() { branches=.hg/branches.cache + # force cache (re)generation + hg log -r does-not-exist 2> /dev/null hg log -r tip --template 'tip: #rev#\n' if [ -f $branches ]; then sort $branches