tests/testlib/obsmarker-common.sh
author Pulkit Goyal <pulkit@yandex-team.ru>
Sat, 13 Oct 2018 04:09:34 +0300
changeset 40218 b27bcf81071b
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
py3: byteify tests/wireprotosimplecache.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5029

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