Mercurial > hg
view tests/testlib/obsmarker-common.sh @ 42199:6dd454e5b123
phabricator: don't assume the existence of properties of local:commits
Not all the properties are guaranteed to be there, so if we don't check first
we could die with a KeyError.
Differential Revision: https://phab.mercurial-scm.org/D6299
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Sat, 20 Apr 2019 17:22:35 +0100 |
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