diff --git a/tests/test-strict b/tests/test-strict new file mode 100755 --- /dev/null +++ b/tests/test-strict @@ -0,0 +1,19 @@ +#!/bin/sh + +hg init + +echo a > a +hg ci -d '0 0' -Ama + +hg an a + +HGRCPATH=$HGTMP/.hgrc; export HGRCPATH +echo "[ui]" >> $HGTMP/.hgrc +echo "strict=True" >> $HGTMP/.hgrc + +hg an a +hg annotate a + +echo % should succeed - up is an alias, not an abbreviation + +hg up