tests/bzr-definitions
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 04 Jun 2015 21:49:50 -0400
changeset 25436 9724cbe2d546
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
add: replace match.bad() monkey patching with match.badmatch() The previous code didn't restore the original method, but it looks like the worst that would happen is junk added to a list that had already been processed by previous subrepo invocation(s).

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