view tests/bzr-definitions @ 15084:deed405e8980 stable

test-setdiscovery.t: portability fix The output of 'wc -c' is prefixed with spaces when using BSD wc.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 11 Sep 2011 19:13:56 +0200
parents 95046688f80f
children f84dda152a55
line wrap: on
line source

# this file holds the definitions that are used in various bzr tests

"$TESTDIR/hghave" bzr || exit 80

TERM=dumb; export TERM
echo '[extensions]' >> $HGRCPATH
echo 'convert = ' >> $HGRCPATH
echo 'hgext.graphlog = ' >> $HGRCPATH

glog()
{
    hg glog --template '{rev} "{desc|firstline}" files: {files}\n' "$@"
}

manifest()
{
    echo "% manifest of $2"
    hg -R $1 manifest -v -r $2
}