tests/test-strict
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Sep 2006 10:01:45 +0200
changeset 3070 24c1db20990c
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Include section name and parameter name (if available) in config errors. Added tests for this.

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