tests/test-strict
author Matt Mackall <mpm@selenic.com>
Sun, 02 Dec 2007 17:04:16 -0600
changeset 5588 083b6e3142a2
parent 2992 4e815ee377fd
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
churn: avoid division by zero

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