tests/bzr-definitions
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 08 May 2014 16:48:28 -0700
changeset 21261 6ca05c46aa95
parent 20117 aa9385f983fa
child 26066 89872688893f
permissions -rw-r--r--
mergestate: consistently set variables to None Some code branches and exceptional circumstances such as empty mergestate files could result in mergestate._local and mergestate._other not being defined or reset to None. These variables are now correctly set to None when they should be.

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