tests/test-strict
author Bryan O'Sullivan <bos@serpentine.com>
Tue, 31 Jul 2007 16:28:05 -0700
changeset 5036 ca0d02222d6a
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
ui: get readline and prompt to behave better depending on interactivity

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