tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 31 Jul 2018 12:52:06 +0200
branchstable
changeset 3914 96945ea908df
parent 2119 e1c26c632b6d
permissions -rw-r--r--
branching: merge default into stable The stable branch of Mercurial core now contains Mercurial 4.7 so evolve branch policy requires this merge. The @ bookmark is in the right location, so people doing clone will get to the latest release.

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