tests/testlib/common.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 07 Sep 2017 16:45:57 +0200
changeset 2913 6b2ae9f2b9c4
parent 2119 e1c26c632b6d
permissions -rw-r--r--
tests: add tests for `hg stack` showing surprising behavior with gaps The test will help us to analyse in next commit if the things are fixed or not.

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