tests/bzr-definitions
author Mads Kiilerich <mads@kiilerich.com>
Sat, 14 Jan 2012 01:56:27 +0100
branchstable
changeset 15942 d7a34c07e69b
parent 9042 95046688f80f
child 16060 f84dda152a55
permissions -rw-r--r--
run-tests: expand user in --with-hg This makes it possible to run: $ ./run-tests.py --with-hg=~/hg-bin/hg

# 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
}