tests/testlib/common.sh
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 24 Aug 2017 11:00:13 -0700
changeset 2859 2a228fb6c23e
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: undo change from "divergent" to "phasedivergent" for --divergent Looks like an accidental update in feaa52680682 (log: bumped was renamed into phasedivergent, 2017-08-10).

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