diff tests/test-mq-caches @ 3501:89820e9b94f2

test-mq-caches: look up a revision that does not exist to force cache creation
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 24 Oct 2006 17:49:48 -0300
parents fbf8320f25c8
children 9dcf9d45cab8
line wrap: on
line diff
--- a/tests/test-mq-caches	Tue Oct 24 13:42:21 2006 -0700
+++ b/tests/test-mq-caches	Tue Oct 24 17:49:48 2006 -0300
@@ -6,6 +6,8 @@
 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