tests/testlib/common.sh
author Eric Spishak-Thomas <emspishak@gmail.com>
Wed, 25 Mar 2020 17:44:08 -0400
changeset 5211 a28f24828f62
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: fix some documentation grammar/typos

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