changeset 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 c3e10f705a6c
children cb0d80831ee0
files hgext/phabricator.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):