tests/test-strict
author Eric Hopper <hopper@omnifarious.org>
Sat, 09 Sep 2006 18:25:07 -0700
changeset 3448 6ca49c5fe268
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Stop erroring out pull -r and clone -r if repository isn't local.

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