view tests/test-hgrc @ 2975:3091b1153e2c

Clear contents of global hgrc for tests before running each test. This fixes running test-mq-qdiff after test-mq, because of changed settings.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 22 Aug 2006 09:55:14 +0200
parents 7d66ce9895fa
children 7a7d4937272b
line wrap: on
line source

#!/bin/sh

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