tests/testlib/common.sh
author Boris Feld <boris.feld@octobus.net>
Fri, 16 Jun 2017 09:22:39 +0200
changeset 2593 ed977325cd2a
parent 2119 e1c26c632b6d
permissions -rw-r--r--
changelog: announce that obsfate is hg > 4.2 now Update changelog to announce the fact that obsfate has been improved and is now only compatible with mercurial version greater than 4.2.

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