view tests/testlib/obsmarker-common.sh @ 49464:90512ca6a255 stable

rust-matchers: fix behavior of `IncludeMatcher` with multiple includes This change adds a test for this fix as well as an additional test case that was useful in debugging this behavior.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 29 Aug 2022 16:09:30 +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