tests/testlib/obsmarker-common.sh
author Phil Cohen <phillco@fb.com>
Thu, 24 Aug 2017 21:26:40 -0700
changeset 33920 f39ba8237ed6
parent 32897 1858fc2327ef
child 42970 86f39a89b63e
permissions -rw-r--r--
simplemerge: use `ctx.decoddeddata()` instead of `repo.wreaddata` This eliminates the need for the `repo` object. Differential Revision: https://phab.mercurial-scm.org/D435

mkcommit() {
   echo "$1" > "$1"
   hg add "$1"
   hg ci -m "$1"
}

getid() {
   hg log --hidden --template '{node}\n' --rev "$1"
}

cat >> $HGRCPATH <<EOF
[alias]
debugobsolete=debugobsolete -d '0 0'
EOF