view tests/test-strict @ 4010:e282448d68f1

inst.reason isn't alway in the form (errno, strerror) urllib2.urlopen("foobar://foo") is an example where inst.reason is a string fix issue383
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 28 Dec 2006 01:14:12 +0100
parents 4e815ee377fd
children
line wrap: on
line source

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