view tests/test-hgrc @ 4746:6def53be19fb

buildrpm: fix rpm release number calculation It was broken when patch queues were in use.
author Adam Spiers <hg@adamspiers.org>
date Sat, 30 Jun 2007 01:21:41 +0100
parents 7a7d4937272b
children
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:"