view tests/testlib/obsmarker-common.sh @ 48926:3d35e7483602

manifest: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12331
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:11:27 -0700
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