tests/testlib/obsmarker-common.sh
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Thu, 22 Dec 2022 16:57:56 +0000
changeset 49828 9854a9adc466
parent 42968 86f39a89b63e
permissions -rw-r--r--
revlog: fix misleading comment about _maxinline

mkcommit() {
   name="$1"
   shift
   echo "$name" > "$name"
   hg add "$name"
   hg ci -m "$name" "$@"
}

getid() {
   hg log --hidden --template '{node}\n' --rev "$1"
}

cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF