tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 20 Oct 2017 20:04:13 +0200
branchmercurial-4.3
changeset 3106 a867d59ea97a
parent 2119 e1c26c632b6d
permissions -rw-r--r--
test-compat: revert output changes from phase renaming We keep using the old name for the older version. test has to reflect that.

. $TESTDIR/testlib/pythonpath.sh

mkcommit() {
   echo "$1" > "$1"
   hg add "$1"
   hg ci -m "$1"
}

getid() {
   hg log --hidden --template '{node}\n' --rev "$1"
}

cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF