tests/test-strict
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 16 Jul 2007 20:15:03 -0700
changeset 4913 f0c25ed40ec6
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
tag: handle .hgtags and .hg/localtags with missing final newline (issue 601) This also fixes an asymmetry bug in which we called the pretag hook if we were going to create a local tag, but didn't call the tag hook afterwards.

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