tests/test-dispatch
author Brendan Cully <brendan@kublai.com>
Thu, 14 Jun 2007 10:58:49 -0700
changeset 4584 0d26e3d0eeeb
parent 4561 8044be585b91
child 4622 6fc26982f203
permissions -rwxr-xr-x
Make parents with a file but not a revision use working directory revision.

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