tests/bzr-definitions
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 04 Jun 2015 21:55:56 -0400
changeset 25438 7ce5a3230441
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
cat: replace match.bad() monkey patching with match.badmatch() No known issues with the previous code since it restored the original method, but this is cleaner.

# 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

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

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