tests/test-bad-extension
author Patrick Mezard <pmezard@gmail.com>
Sat, 12 May 2007 21:09:29 +0200
changeset 4434 439b1c35348a
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
Fix issue483 - mq does not work under windows with gnu-win32 patch. Add --binary option to patch command under win32.

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