tests/test-bad-extension
author Matt Mackall <mpm@selenic.com>
Mon, 18 Jun 2007 19:43:26 -0500
changeset 4631 e3afa670e484
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
demandimport: fix issue579 and add a test fix suggested by Brendan

#!/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