tests/testlib/obsmarker-common.sh
author Boris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 02:21:52 +0100
changeset 40919 a0886a4d6dce
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
tests: remove all transitional configuration Now that sparse-revlog is enabled by default, we no longer needs it. Differential Revision: https://phab.mercurial-scm.org/D5346

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