tests/bzr-definitions
author Christian Ebert <blacktrash@gmx.net>
Thu, 14 Oct 2010 22:47:50 +0200
changeset 12731 95514b58709d
parent 9042 95046688f80f
child 16060 f84dda152a55
permissions -rw-r--r--
context: narrow down filter special case in filectx.cmp() cmp via filelog when encode filters are present, but only when actually comparing to the working directory.

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