tests/bzr-definitions
author Patrick Mezard <pmezard@gmail.com>
Tue, 28 Sep 2010 00:41:07 +0200
branchstable
changeset 12575 9b3913baba0c
parent 9042 95046688f80f
child 16060 f84dda152a55
permissions -rw-r--r--
patch: upgrade to git patch when removing binary file Otherwise it may cause data loss when removing binary files in mq with --git=auto.

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