tests/test-bad-extension.t
author Matt Mackall <mpm@selenic.com>
Mon, 20 Sep 2010 15:31:48 -0500
changeset 12325 5f6231861e09
parent 11858 934c7e91c126
child 12375 02990e22150b
permissions -rw-r--r--
merge with abuehl

  $ 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