tests/test-strict
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 22 Oct 2006 01:01:03 -0300
changeset 3475 03932425cfd8
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
bash_completion: don't complete export with "garbage" when mq is not around The "garbage" is the output of hg help printed when a command is not found.

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