tests/testlib/common.sh
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 27 Apr 2019 21:09:47 -0400
changeset 4617 2cab06f5c4d4
parent 2119 e1c26c632b6d
permissions -rw-r--r--
doc: correct a typo

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