tests/bzr-definitions
author Pulkit Goyal <7895pulkit@gmail.com>
Wed, 20 Sep 2017 02:40:25 +0530
changeset 34285 7b1e524ad73f
parent 26066 89872688893f
child 39222 7a88643bc0ef
permissions -rw-r--r--
uncommit: add an experimental.uncommitondirtywdir config There are people who wants to do `hg uncommit` on dirty working directory, so this patch adds a config which can be used to the achieve that. Adds tests for the same. Differential Revision: https://phab.mercurial-scm.org/D735

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