##// END OF EJS Templates
tests: unify test-config-case
tests: unify test-config-case

File last commit:

r11858:934c7e91 default
r12082:5e2216a3 default
Show More
test-bad-extension.t
15 lines | 512 B | text/troff | Tads3Lexer
/ tests / test-bad-extension.t
$ echo 'raise Exception("bit bucket overflow")' > badext.py
$ abspath=`pwd`/badext.py
$ echo '[extensions]' >> $HGRCPATH
$ echo "gpg =" >> $HGRCPATH
$ echo "hgext.gpg =" >> $HGRCPATH
$ echo "badext = $abspath" >> $HGRCPATH
$ echo "badext2 =" >> $HGRCPATH
$ hg -q help help
\*\*\* failed to import extension badext from .*/badext.py: bit bucket overflow
\*\*\* failed to import extension badext2: No module named badext2
hg help [TOPIC]
show help for a given topic or a help overview