view tests/test-hgrc @ 3057:50e0392d51df

Fix for Python 2.3 compatibility. Note: Name of comparing function of sort() is "cmpfunc" in Python 2.3 and "cmp" in Python 2.4.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Tue, 05 Sep 2006 12:40:45 +0900
parents 7d66ce9895fa
children 7a7d4937272b
line wrap: on
line source

#!/bin/sh

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