Mercurial > hg
diff hgext/phabricator.py @ 43350:132ddd1cba85 stable
phabricator: use True primitive instead of b'true' for phabupdate actions
Something I'd missed in the creatediff port. This didn't matter before with
the old PHP form style wireformat, but breaks with the new arcanist format.
Differential Revision: https://phab.mercurial-scm.org/D7152
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Wed, 23 Oct 2019 22:24:14 +0100 |
parents | a2ff3aff81d2 |
children | 579672b347d2 |
line wrap: on
line diff
--- a/hgext/phabricator.py Wed Oct 23 15:07:56 2019 +0100 +++ b/hgext/phabricator.py Wed Oct 23 22:24:14 2019 +0100 @@ -1613,7 +1613,7 @@ actions = [] for f in flags: - actions.append({b'type': f, b'value': b'true'}) + actions.append({b'type': f, b'value': True}) drevs = querydrev(repo, spec) for i, drev in enumerate(drevs):