tests/test-hgrc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 30 Jun 2006 10:15:18 +0200
changeset 2519 deb466fa6957
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
add a new template function 'hgdate' 'hgdate' turns a date into a cset timestamp as printed by 'hg export'

#!/bin/sh

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