tests/test-strict
author Brendan Cully <brendan@kublai.com>
Tue, 24 Apr 2007 18:43:18 -0700
changeset 4376 de612b5f8d59
parent 2992 4e815ee377fd
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
Make copy --after work for files that have been hg added.

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