tests/testlib/common.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 29 Jun 2017 23:42:29 +0200
changeset 2687 4a02781d90ce
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: fix documentation formatting The config example were formatted as standard paragraph.

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