tests/test-bad-extension
author Matt Mackall <mpm@selenic.com>
Mon, 18 Jun 2007 17:49:56 -0500
changeset 4630 e6d105a51ec7
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
dispatch: add generic pre- and post-command hooks

#!/bin/sh

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

hg -q help help