tests/test-dispatch
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 15 Apr 2010 15:34:27 +0200
changeset 10918 1d8a13bb42ae
parent 8637 c88c8d59979f
child 11675 f92f8921a5cc
permissions -rwxr-xr-x
add +x to test-update-renames, removed by the merge on 24ed7a541f23

#!/bin/sh
# test command parsing and dispatch

"$TESTDIR/hghave" no-outer-repo || exit 80

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 ..
hg cat

exit 0