Mercurial > hg
view tests/testlib/obsmarker-common.sh @ 37381:76823340a899
mq: avoid a silly conversion from binary nodeid to hex
We generally deal with binary nodeids in code. In this case the hex
nodeid was passed to strip.checksubstate() where it was passed to
repo.__getitem__, which of course accepts a binary nodeid.
Differential Revision: https://phab.mercurial-scm.org/D3141
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 05 Apr 2018 11:33:36 -0700 |
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