tests/test-bad-extension
author Bryan O'Sullivan <bos@serpentine.com>
Sat, 21 Jul 2007 19:07:18 -0700
changeset 4966 8d982aef0be1
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
addremove: print meaningful error message if --similar not numeric

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