tests/testlib/common.sh
author Aurélien Campéas
Thu, 21 Sep 2017 14:05:27 +0200
changeset 2967 c62b3776fec3
parent 2119 e1c26c632b6d
permissions -rw-r--r--
topics/tuto: highlight the behaviour on publish + update And the fact that empty topics vanish if we update out of them.

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