tests/test-strict
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 30 Jan 2007 21:11:10 -0200
changeset 4060 82eb0fafb56d
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
commit: catch IOError filecommit can still raise IOError if we're on a filesystem without support for symlinks.

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