Patchwork D7152: phabricator: use True primitive instead of b'true' for phabupdate actions

login
register
mail settings
Submitter phabricator
Date Oct. 30, 2019, 8:49 p.m.
Message ID <b9c6561b88da3dc564823c692704a71e@localhost.localdomain>
Download mbox | patch
Permalink /patch/42622/
State Not Applicable
Headers show

Comments

phabricator - Oct. 30, 2019, 8:49 p.m.
Closed by commit rHGe57bf37eaeb5: phabricator: use True primitive instead of b&#039;true&#039; for phabupdate actions (authored by Kwan).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7152?vs=17373&id=17416

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7152/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7152

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS




To: Kwan, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -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):