tests/test-strict
author Matt Mackall <mpm@selenic.com>
Sat, 24 Nov 2007 12:13:32 -0600
changeset 5544 686899a7de5b
parent 2992 4e815ee377fd
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
revlog: make revlogv0 loading more robust against corruption

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