From patchwork Wed Oct 23 21:31:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7152: phabricator: use True primitive instead of b'true' for phabupdate actions From: phabricator X-Patchwork-Id: 42542 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 23 Oct 2019 21:31:08 +0000 Kwan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D7152 AFFECTED FILES hgext/phabricator.py CHANGE DETAILS To: Kwan, #hg-reviewers Cc: mercurial-devel 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):