tests/test-dispatch
author Brendan Cully <brendan@kublai.com>
Tue, 12 Jun 2007 13:21:42 -0700
changeset 4563 8044be585b91
child 4621 6fc26982f203
permissions -rwxr-xr-x
dispatch: restore a dropped shlex import Add test-dispatch as a place for command parsing and dispatch tests.

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

hg init a
cd a
echo a > a
hg ci -Ama -d '0 0'

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