tests/testlib/common.sh
author Kyle Lippincott <spectral@google.com>
Tue, 06 Jun 2017 15:10:13 -0700
branchstable
changeset 2546 abe6dfbdc744
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: fix typo: -list -> --list

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