tests/bzr-definitions
author Yuya Nishihara <yuya@tcha.org>
Sun, 01 Jul 2018 22:01:20 +0900
changeset 38543 7ae0ea739770
parent 26066 89872688893f
child 39250 7a88643bc0ef
permissions -rw-r--r--
files: add support for log-like template keywords and functions Note that the ctx does not point to the revision where the file was last changed, but the revision specified by -rREV option.

# this file holds the definitions that are used in various bzr tests

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
}