view tests/test-bad-extension @ 4966:8d982aef0be1

addremove: print meaningful error message if --similar not numeric
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 21 Jul 2007 19:07:18 -0700
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