tests/bzr-definitions
author Yuya Nishihara <yuya@tcha.org>
Tue, 05 Dec 2017 21:50:33 +0900
changeset 35248 c752fbe228fb
parent 26066 89872688893f
child 39222 7a88643bc0ef
permissions -rw-r--r--
repoview: extract a factory function of proxy class This makes sure that dynamically-created class objects are isolated from local binding of repo instances. The type cache is moved to module level as it isn't tied to each instance.

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