tests/test-strict
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Dec 2006 23:16:12 +0100
changeset 3754 cd25a4a1a265
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Improve error message for unknown revlog flags. Old: unknown flags 120000 for ... New: unknown flags 0x0012 for ...

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