tests/bzr-definitions
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
Thu, 28 May 2015 16:11:26 -0400
changeset 25327 2e7804110b14
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
demandimport: define a `deactivated` context manager This can be useful for use in "with" blocks for temporarily disabling demandimport.

# 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

glog()
{
    hg log -G --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@"
}

manifest()
{
    echo "% manifest of $2"
    hg -R $1 manifest -v -r $2
}