view tests/test-bad-extension @ 5717:18fdfafdb3e9

bisect: use bail_if_changed - switch to using existing bail_if_changed code - only abort when we're about to do an update
author Matt Mackall <mpm@selenic.com>
date Thu, 27 Dec 2007 23:55:39 -0600
parents efe6f92c0847
children f8a86ea7521b
line wrap: on
line source

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