tests/test-hgrc
author Patrick Mezard <pmezard@gmail.com>
Tue, 11 Sep 2007 23:04:42 +0200
changeset 5298 cba2a689117d
parent 4659 7a7d4937272b
child 7044 e51c0f41f271
permissions -rwxr-xr-x
parents: make it match the doc when called on a file parents used to return the parent revision of the last revision updating selected file, instead of the updating revision itself.

#!/bin/sh

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