tests/test-bad-extension.t
author Sean Farley <sean.michael.farley@gmail.com>
Tue, 13 Jan 2015 15:07:08 -0800
changeset 23836 3fb61fcbc4e4
parent 23172 e955549cd045
child 25364 de23a552fc23
permissions -rw-r--r--
namespaces: add revset for 'named(namespace)' This patch adds functionality for listing all changesets in a given namespace via the revset language.

  $ 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