Mercurial > hg
view tests/testlib/obsmarker-common.sh @ 38121:10befe8e8b59
githelp: rewrite a Yoda conditional
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 21 May 2018 22:57:05 -0400 |
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