tests/test-bad-extension
author Emanuele Aina <faina.mail@tiscali.it>
Tue, 06 Mar 2007 17:45:38 -0300
changeset 4145 2ebdd33fe456
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
Add a test for the purge extension

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