view tests/test-bad-extension @ 5567:56e9f7b2d8fa

rename: add test for moving untracked files in directories
author Matt Mackall <mpm@selenic.com>
date Sat, 01 Dec 2007 12:54:34 -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