tests/test-strict
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 01 Jun 2007 16:00:40 +0200
changeset 4471 736e49292809
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
addremove: comparing two empty files caused ZeroDivisionError (found by Giorgos Keramidas)

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