tests/testlib/obsmarker-common.sh
author Boris Feld <boris.feld@octobus.net>
Fri, 27 Oct 2017 18:19:07 +0200
branchstable
changeset 34932 fd78276948b4
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
internal-doc: document the config register mechanism This explains the various usage and feature of the config register introduced in Mercurial 4.3 and 4.4.

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