tests/test-strict
author Steve Borho <steve@borho.org>
Thu, 17 Sep 2009 17:39:43 -0500
changeset 9458 ffeaf5ba25d8
parent 8167 6c82beaaa11a
permissions -rwxr-xr-x
demandimport: blacklist gtk Demandimport breaks gtk. You get a meaningless error about 'failed loading gobject\_gobject.pyd'. Mercurial does not use gtk, but this trips up many extension writers.

#!/bin/sh

hg init

echo a > a
hg ci -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