##// END OF EJS Templates
localrepo: introduce method for explicit branch cache update...
localrepo: introduce method for explicit branch cache update Currently, localrepo.branchtags() is called in two locations to update the _branchcache dict, however branchtags() itself does not update anything, it calls branchmap() to do so. This change introduces a new updatebranchcache() method that is used by both branchmap() and the calls to update the cache.

File last commit:

r12028:21984c1c stable
r12066:d01e2865 default
Show More
test-dispatch
29 lines | 301 B | text/plain | TextLexer
#!/bin/sh
# test command parsing and dispatch
"$TESTDIR/hghave" no-outer-repo || exit 80
dir=`pwd`
hg init a
cd a
echo a > a
hg ci -Ama
echo "# missing arg"
hg cat
echo '% [defaults]'
hg cat a
cat >> $HGRCPATH <<EOF
[defaults]
cat = -r null
EOF
hg cat a
echo '% no repo'
cd $dir
hg cat
exit 0