tests/testlib/obsmarker-common.sh
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 29 Aug 2018 09:50:39 -0700
changeset 39375 cde75233c415
parent 32897 1858fc2327ef
child 42970 86f39a89b63e
permissions -rw-r--r--
rename: quote hg commands in warnings I think we usally use single quotes around hg commands in messages. Differential Revision: https://phab.mercurial-scm.org/D4417

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