tests/bzr-definitions
author Brodie Rao <brodie@sf.io>
Sun, 13 May 2012 13:18:06 +0200
changeset 16705 c2d9ef43ff6c
parent 16060 f84dda152a55
child 20117 aa9385f983fa
permissions -rw-r--r--
check-code: ignore naked excepts with a "re-raise" comment This also promotes the naked except check from a warning to an error.

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