tests/test-bad-extension
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 25 Aug 2007 16:31:37 +0200
changeset 5226 79279b5583c6
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
cgi: sys.path.insert should be before importing mercurial thanks to R. Burke

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