tests/test-hgrc
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 20 Aug 2006 01:13:11 -0300
changeset 2962 882e703eaa94
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
dirstate.py: when comparing mtimes, use only the integer part. Python 2.5 can return timestamps with subsecond resolution.

#!/bin/sh

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