tests/test-dispatch
author Patrick Mezard <pmezard@gmail.com>
Wed, 20 Jun 2007 22:06:37 +0200
changeset 4643 a39cec1d5cb8
parent 4622 6fc26982f203
child 4654 e0e73ba37983
permissions -rwxr-xr-x
printenv: filter empty environment variables for portability.

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

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