tests/test-strict
author Giorgos Keramidas <keramida@ceid.upatras.gr>
Sat, 30 Dec 2006 21:33:45 +0200
changeset 4292 b90e323a4781
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Use printf(1) instead of using bash-specific shell code. Submitted by: Benoit Boissinot <bboissin@gmail.com>

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