view tests/testlib/obsmarker-common.sh @ 38638:740f7d447222

revlog: add a doctest to _trimchunk
author Boris Feld <boris.feld@octobus.net>
date Tue, 10 Jul 2018 10:04:44 +0200
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