tests/test-dispatch
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sat, 07 Mar 2009 23:36:22 +0900
changeset 7838 c2e962bdcc37
parent 7429 dbc40381620e
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
i18n: update Japanese translation to follow bd8f44638847

#!/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 -d '0 0'

echo "# missing arg"
hg cat

echo '% [defaults]'
hg cat a
cat >> $HGRCPATH <<EOF
[defaults]
cat = -v
EOF
hg cat a

echo '% no repo'
cd ..
hg cat

exit 0