tests/test-hgrc
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 24 Mar 2006 19:51:05 +0100
changeset 2002 4aab906517c6
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
Calling revlog.addgroup with an empty changegroup now raises RevlogError. The empty changegroup can be caused by remote servers dying soon after findincoming, and further code in pull assumes (correctly) that there are new changesets.

#!/bin/sh

mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"