view tests/test-dispatch @ 4646:196d90bf5c15

Fix read mode when importing patch.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 19 Jun 2007 17:03:31 +0200
parents 6fc26982f203
children e0e73ba37983
line wrap: on
line source

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