view tests/testlib/obsmarker-common.sh @ 52001:3af11f3e9980

zeroconf: fix a warning about a signature mismatch in a method override Caught by PyCharm. It looks like the `hdr` arg is mostly unused (thus why it was missing in some cases), so pass along an empty string where needed.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 13 Oct 2024 14:46:23 +0200
parents 86f39a89b63e
children
line wrap: on
line source

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