view tests/test-dispatch @ 9755:d64bdaeaa2b9

i18n-de: Removed all fuzzies and translated small alphaend-extensions
author Fabian Kreutz <fabian.kreutz@starnet.fi>
date Tue, 20 Oct 2009 17:31:09 +0300
parents c88c8d59979f
children f92f8921a5cc
line wrap: on
line source

#!/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