tests/test-bad-extension
author Bryan O'Sullivan <bos@serpentine.com>
Wed, 18 Jul 2007 13:56:08 -0700
changeset 4923 e8c0b52c363c
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
Better fix for issue 622 than we had in c4dd58af0fc8.

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