view tests/testlib/obsmarker-common.sh @ 37464:632b92899203

procutil: drop unused 'newlines' option from popen*() (API) It's unlikely for us to use the universal_newlines option.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 07 Apr 2018 21:26:37 +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