view tests/test-dispatch @ 6887:304484c7e0ba

Update win32mbcs extension * Code cleanup by Matt. * Fix the issue with case-insensitive fs support by wrapping also util.fspath() and util.checkcase() * Abort program when path conversion is failed.
author Shun-ichi Goto <shunichi.goto@gmail.com>
date Wed, 13 Aug 2008 20:18:40 -0500
parents 5db730475d6d
children dbc40381620e
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

echo '% no repo'
cd ..
hg cat

exit 0