view tests/test-bad-extension @ 3990:96e21337dc03

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.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 26 Dec 2006 15:33:50 +0100
parents 01454af644b8
children efe6f92c0847
line wrap: on
line source

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