tests/bzr-definitions
author Yuya Nishihara <yuya@tcha.org>
Sun, 12 Jun 2016 14:07:26 +0900
changeset 29366 d269e7db2f55
parent 26066 89872688893f
child 39222 7a88643bc0ef
permissions -rw-r--r--
ui: provide official way to reset internal state per command This will allow us to clear in-memory password storage per runcommand(). I've updated commandserver to call resetstate() of both ui and repo.ui because they may have different states in theory.

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