tests/test-strict
author Brendan Cully <brendan@kublai.com>
Sat, 25 Aug 2007 12:25:53 -0700
changeset 5227 a1efa71f3ece
parent 2978 4e815ee377fd
permissions -rwxr-xr-x
Improve extdiff configuration. In addition to the old cmd.foo, opts.foo hgrc entries, allow a more simple alias = command [opts]... form. For example: [extdiff] cdiff = colordiff -uprN

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