tests/testlib/obsmarker-common.sh
author Matt Harbison <matt_harbison@yahoo.com>
Mon, 21 Aug 2023 17:33:00 -0400
changeset 50973 a0fcdcc53618
parent 42970 86f39a89b63e
permissions -rw-r--r--
debugrebuildfncache: migrate `opts` to native kwargs

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