view tests/testlib/obsmarker-common.sh @ 46531:d46885119f90

author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 22 Feb 2021 18:48:45 +0100
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