tests/bzr-definitions
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 03 Mar 2017 13:04:32 +0530
changeset 31159 76a64c1e5439
parent 26066 89872688893f
child 39250 7a88643bc0ef
permissions -rw-r--r--
py3: add pycompat.open and replace open() calls open() requires mode argument as unicodes on Python 3. This patch introduces pycompat.open() which is inserted to files using transformer and replaces builtins.open() calls.

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