tests/test-strict
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 11 Aug 2007 12:47:58 +0200
changeset 5144 6e040f6c2c9c
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Print less scary message if the system supports symlinks: "Skipping test-no-symlinks: system supports symbolic links" instead of "Skipping test-no-symlinks: unexpected feature: symbolic links"

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