view tests/testlib/obsmarker-common.sh @ 44506:26dd35ac59b8

rust-nodemap: add utils for propagating errors This also updates the copyright notice Differential Revision: https://phab.mercurial-scm.org/D8156
author Georges Racinet <georges.racinet@octobus.net>
date Tue, 11 Feb 2020 16:30:28 +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