tests/bzr-definitions
author Yuya Nishihara <yuya@tcha.org>
Fri, 02 Jul 2010 23:49:06 +0900
branchstable
changeset 11508 fbab0875fd09
parent 9042 95046688f80f
child 16060 f84dda152a55
permissions -rw-r--r--
log: fix missing diff output for hg log -p in sub directory prep(ctx, fns) receives paths relative to repository root, not cwd.

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