tests/bzr-definitions
author Alexander Solovyov <piranha@piranha.org.ua>
Mon, 11 May 2009 14:20:18 +0200
changeset 8345 dcebff8a25dd
parent 8211 5b4ff21c74e4
child 8523 5b7da468531b
permissions -rw-r--r--
hgwebdir: read --webdir-conf as actual configuration to ui (issue1586) This cleans up code and allows specification of values more globally. For example, it's now possible to specify web.contact in webdir-conf for all repositories without a specified contact set.

# this file holds the definitions that are used in various bzr tests

"$TESTDIR/hghave" bzr || exit 80

export TERM=dumb
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
}