tests/testlib/common.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 15 Jun 2018 00:16:29 +0530
changeset 3852 629558d09898
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: raise error.InterventionRequired instead of Abort when conflicts error.InterventionRequired is a better error to raise in such cases. Thanks to marmoute for noticing this.

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