tests/test-dispatch
author Matt Mackall <mpm@selenic.com>
Mon, 18 Jun 2007 19:43:26 -0500
changeset 4631 e3afa670e484
parent 4622 6fc26982f203
child 4654 e0e73ba37983
permissions -rwxr-xr-x
demandimport: fix issue579 and add a test fix suggested by Brendan

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