tests/test-strict
author Matt Mackall <mpm@selenic.com>
Thu, 05 Jul 2007 13:34:18 -0500
changeset 4815 8808ea7da86b
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
merge: make test for fast-forward merge stricter (issue619) don't allow merging with an ancestor fix != on contexts add a test

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