tests/test-strict
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 14 Dec 2006 19:30:18 +0100
changeset 3883 6081b4c68baf
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Corrected synopsis for many commands. Use CMD instead of FILE for -e and --remotecmd (thanks, Neal Becker)

#!/bin/sh

hg init

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

hg an a

echo "[ui]" >> $HGRCPATH
echo "strict=True" >> $HGRCPATH

hg an a
hg annotate a

echo % should succeed - up is an alias, not an abbreviation

hg up