##// END OF EJS Templates
tests: unify test-config-case
tests: unify test-config-case

File last commit:

r12028:21984c1c stable
r12082:5e2216a3 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