tests/bzr-definitions
author Patrick Mezard <pmezard@gmail.com>
Sun, 26 Apr 2009 18:36:36 +0200
changeset 8211 5b4ff21c74e4
parent 7053 209ef5f3534c
child 8523 5b7da468531b
permissions -rw-r--r--
Declare bzr TERM=dumb to silence progress bars In theory, one could set BZR_PROGRESS_BAR=none but it does not work in 1.14rc2

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