tests/test-strict
author Christian Ebert <blacktrash@gmx.net>
Sun, 10 Feb 2008 08:25:09 +0100
changeset 6081 beb775df5630
parent 2992 4e815ee377fd
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
keyword: enable all monkey patches using _kwtemplater at reposetup - no need for try-except block - underscore prefix for private methods - add doc strings

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