tests/testlib/common.sh
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 02 Dec 2018 16:48:05 +0100
changeset 4282 12e3f24f794b
parent 2119 e1c26c632b6d
permissions -rw-r--r--
extensions: add uipopulate() support to exthelper

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