view tests/test-bad-extension @ 4837:7031d9e2fa45

hgweb: browse subdirectories before checking whether parent directory is also a repository
author Brendan Cully <brendan@kublai.com>
date Sat, 07 Jul 2007 15:09:08 -0700
parents efe6f92c0847
children
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