view tests/testlib/obsmarker-common.sh @ 40214:b456b2e0ad9f

py3: make test-contrib-perf.t work on python 3 Differential Revision: https://phab.mercurial-scm.org/D5025
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 13 Oct 2018 03:46:57 +0300
parents 1858fc2327ef
children 86f39a89b63e
line wrap: on
line source

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