tests/test-bad-extension.t
author Laurent Charignon <lcharignon@fb.com>
Mon, 09 Mar 2015 13:16:25 -0700
changeset 24265 dc655360bccb
parent 23172 e955549cd045
child 25364 de23a552fc23
permissions -rw-r--r--
record: move parsepatch from record to patch Part of a series of patches to move record from hgext to core

  $ echo 'raise Exception("bit bucket overflow")' > badext.py
  $ abspath=`pwd`/badext.py

  $ cat <<EOF >> $HGRCPATH
  > [extensions]
  > gpg =
  > hgext.gpg =
  > badext = $abspath
  > badext2 =
  > EOF

  $ hg -q help help
  *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
  *** failed to import extension badext2: No module named badext2
  hg help [-ec] [TOPIC]
  
  show help for a given topic or a help overview