tests/test-strict
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 18 Nov 2006 23:51:14 -0200
changeset 3677 1a0fa3914c46
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Avoid looking up usernames if the current user owns the .hgrc file Converting uids into usernames may be somewhat expensive when NIS or LDAP is involved.

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