view tests/testlib/obsmarker-common.sh @ 40523:0c7b2035a604

ui: indent _writenobuf() to prepare moving bits from _write() functions
author Yuya Nishihara <yuya@tcha.org>
date Sat, 03 Nov 2018 17:43:57 +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