tests/testlib/obsmarker-common.sh
author Augie Fackler <raf@durin42.com>
Wed, 04 Mar 2020 11:51:12 -0500
branchstable
changeset 44414 25d61883a861
parent 42968 86f39a89b63e
permissions -rw-r--r--
Added tag 5.3.1 for changeset 6d121acbb82e

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