tests/test-bad-extension.t
author Christian Ebert <blacktrash@gmx.net>
Fri, 01 Oct 2010 02:13:31 +0200
changeset 12605 aa4a6e3ed0c9
parent 12376 97ffc68f71d3
child 12640 6cc4b14fb76b
permissions -rw-r--r--
keyword: use workingctx to detect modified and added files after rollback

  $ 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 (glob)
  *** failed to import extension badext2: No module named badext2
  hg help [TOPIC]
  
  show help for a given topic or a help overview