changeset 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 bd8339976504
children 8dc14d630b29
files tests/test-mq-caches
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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