view tests/test-strict @ 8224:1075f5c1b3fa

hgweb: pre-init mimetypes module (fixes ugly bug in python-2.6.2 mimetypes) The ugly initialization hack in mimetypes' initialization procedure can make hg serve hit the maximum recursion depth when in threaded mode.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 27 Apr 2009 16:29:26 +0200
parents 6c82beaaa11a
children
line wrap: on
line source

#!/bin/sh

hg init

echo a > a
hg ci -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