tests/testlib/obsmarker-common.sh
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 29 Jun 2019 23:23:07 -0400
branchstable
changeset 42545 2c27b7fadcd3
parent 32879 1858fc2327ef
child 42968 86f39a89b63e
permissions -rw-r--r--
bookmarks: backout the attempt to fix the delete race This backs out 044045dce23a because it broke a bunch of tests on Windows. Yuya's theory is that we still rely on in-memory changelog data to be flushed out of the transaction.

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