##// END OF EJS Templates
test-mq-caches: look up a revision that does not exist to force cache creation
Alexis S. L. Carvalho -
r3501:89820e9b default
parent child Browse files
Show More
@@ -6,6 +6,8 b" echo 'hgext.mq=' >> $HGRCPATH"
6 show_branch_cache()
6 show_branch_cache()
7 {
7 {
8 branches=.hg/branches.cache
8 branches=.hg/branches.cache
9 # force cache (re)generation
10 hg log -r does-not-exist 2> /dev/null
9 hg log -r tip --template 'tip: #rev#\n'
11 hg log -r tip --template 'tip: #rev#\n'
10 if [ -f $branches ]; then
12 if [ -f $branches ]; then
11 sort $branches
13 sort $branches
General Comments 0
You need to be logged in to leave comments. Login now