tests/bzr-definitions
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 19 Oct 2012 00:43:44 +0200
changeset 17832 82f1fe0308bd
parent 16060 f84dda152a55
child 20117 aa9385f983fa
permissions -rw-r--r--
context: add a `bumped` method to `changectx` Same as `unstable()`, returns true if the changeset is bumped.

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