tests/bzr-definitions
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 10 Apr 2014 22:10:26 -0700
changeset 21018 c848bfd02366
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
util: support None size in chunkbuffer.read() When no size is provided, read the whole buffer. This aligns with the usual behavior of `read()` in python.

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