tests/test-hgrc
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 13 Feb 2008 16:46:43 +0100
changeset 6086 e85deb6dcf9d
parent 4659 7a7d4937272b
child 7044 e51c0f41f271
permissions -rwxr-xr-x
better handle errors with date parsing (issue983) Windows cannot always handle a 1970-01-01 parameter to time.mktime().

#!/bin/sh

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