tests/testlib/obsmarker-common.sh
author Matt Harbison <matt_harbison@yahoo.com>
Mon, 16 Apr 2018 23:39:30 -0400
changeset 37761 ff6b0a20849d
parent 32897 1858fc2327ef
child 42970 86f39a89b63e
permissions -rw-r--r--
tests: arrange for a server in wireproto-command-capabilities.t to be killed The stray servers were piling up after the test harness exited. On Windows, this means the *.pyd files can't be rebuilt, which is why the build warning count dropped to 1 recently.

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