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

Kwan (Ian Moody) phabricator at mercurial-scm.org
Wed Oct 30 16:49:50 EDT 2019


Closed by commit rHGe57bf37eaeb5: phabricator: use True primitive instead of b'true' 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

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):



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


More information about the Mercurial-devel mailing list