tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 25 Oct 2018 12:41:16 +0200
branchmercurial-4.7
changeset 4193 19c35a340741
parent 2119 e1c26c632b6d
permissions -rw-r--r--
branching: start test compatibility branch for Mercurial 4.7 Mercurial 4.8-rc0 have been released

. $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