tests/test-hgrc
author Brendan Cully <brendan@kublai.com>
Tue, 29 Aug 2006 17:08:55 -0700
changeset 3027 a4374f7331e4
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
Call patch.diff directly instead of printdiff - this also saves an extra walk of the working directory.

#!/bin/sh

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