tests/test-strict
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 10 Mar 2007 23:00:58 -0300
changeset 4191 1c69c73d85d9
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
locate: exit(1) if we didn't print any file

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