tests/testlib/common.sh
author Boris Feld <boris.feld@octobus.net>
Sat, 30 Sep 2017 23:18:29 +0100
changeset 3024 89855920fb0f
parent 2119 e1c26c632b6d
permissions -rw-r--r--
topicmode: 'enforce' topic mode, no longer warn about untopiced merge merging a topic back in a branch is common case, it seems sensible to not pester the user about it.

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