tests/testlib/common.sh
author Yohann Rebattu <yohann@rebattu.fr>
Sat, 21 Mar 2020 15:04:18 +0100
branchstable
changeset 5264 8e290f172423
parent 2119 e1c26c632b6d
permissions -rw-r--r--
evolve: fixed some typos in stablerangecache LONG_MESSAGE, fix #6279

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