tests/bzr-definitions
author Augie Fackler <raf@durin42.com>
Thu, 19 Sep 2013 15:29:28 -0400
changeset 19759 1b8054b98d68
parent 16060 f84dda152a55
child 20117 aa9385f983fa
permissions -rw-r--r--
run-tests: find mercurial path with syntax valid on both py2 and py3

# 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}@{branch} "{desc|firstline}" files: {files}\n' "$@"
}

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