tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 19 Apr 2018 14:14:34 +0200
changeset 3689 415c872d3308
parent 2119 e1c26c632b6d
permissions -rw-r--r--
topic: remove compatibility for older version in discovery wrapping Support for 4.1 and 4.2 has been dropped.

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