tests/test-bad-extension
author Thomas Arendsen Hein <thomas@intevation.de>
Tue, 26 Dec 2006 15:33:50 +0100
changeset 3990 96e21337dc03
parent 3014 01454af644b8
child 4139 efe6f92c0847
permissions -rwxr-xr-x
Improved error message for extensions overriding commands (with test): - Old text "module foo overrides bar" was misread as overriding module bar. - Only print a single warning line per extension instead of one for each command.

#!/bin/sh

echo 'syntax error' > badext.py
abspath=`pwd`/badext.py

echo '[extensions]' >> $HGRCPATH
echo "gpg =" >> $HGRCPATH
echo "hgext.gpg =" >> $HGRCPATH
echo "badext = $abspath" >> $HGRCPATH

hg -q help help