tests/test-hgrc
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 26 Nov 2007 14:01:31 -0800
changeset 5553 ee80591f5636
parent 4659 7a7d4937272b
child 7044 e51c0f41f271
permissions -rwxr-xr-x
convert: save hg revision during a convert This breaks hg->hg hash roundtripping, but that was fragile, didn't work reliably, and hence arguably of little value.

#!/bin/sh

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