tests/test-bad-extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 28 Aug 2007 23:02:41 -0300
changeset 5261 15a108ad7adb
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
Avoid a working dir walk while trying to detect copies for diff --git

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