equal
deleted
inserted
replaced
4 echo 'hgext.mq=' >> $HGRCPATH |
4 echo 'hgext.mq=' >> $HGRCPATH |
5 |
5 |
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 |
12 else |
14 else |
13 echo No $branches |
15 echo No $branches |