tests/bzr-definitions
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 24 Mar 2014 13:02:02 -0700
changeset 20891 1c6cd23fc221
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
bundle2: add some distinction between mandatory and advisory part Mandatory part cannot be ignored when unknown. We raise a simple KeyError exception when this happen. This is very early version of this logic, see inline comment for future improvement lead.

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