tests/test-bad-extension
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Tue, 28 Aug 2007 22:48:25 -0300
changeset 5260 0fc16031bb45
parent 4139 efe6f92c0847
permissions -rwxr-xr-x
Make hg diff --git -r revA:revB detect (inverted) copies if revA > revB

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