tests/bzr-definitions
author Steve Borho <steve@borho.org>
Sat, 12 Feb 2011 21:59:43 -0600
changeset 13371 c691cfdc6b4d
parent 9042 95046688f80f
child 16060 f84dda152a55
permissions -rw-r--r--
url: move [auth] parsing out into a utility function No functionality change, but it makes the [auth] section parsing and best match detection usable by third party tools

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