view tests/testlib/obsmarker-common.sh @ 33625:6788e648efcf stable

test-revlog-raw: close file handles explicitly (issue5644)
author Yuya Nishihara <yuya@tcha.org>
date Wed, 02 Aug 2017 22:58:38 +0900
parents 1858fc2327ef
children 86f39a89b63e
line wrap: on
line source

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