tests/testlib/obsmarker-common.sh
author Boris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:04:59 +0100
changeset 40892 140d455ef40a
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
test: enable sparse-revlog for test-hgweb-commands.t We are about to enable sparse-revlog globally. To help with reviewing the tests change, we isolate them in individual changesets. Differential Revision: https://phab.mercurial-scm.org/D5319

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