Patchwork D1536: py3: fix args handling for obsfate template

login
register
mail settings
Submitter phabricator
Date Nov. 29, 2017, 1:06 a.m.
Message ID <differential-rev-PHID-DREV-gi3updmsiyk3rip2adbi-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25790/
State Superseded
Headers show

Comments

phabricator - Nov. 29, 2017, 1:06 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/templatekw.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py
--- a/mercurial/templatekw.py
+++ b/mercurial/templatekw.py
@@ -608,6 +608,7 @@ 
     # the verbosity templatekw available.
     succsandmarkers = showsuccsandmarkers(**args)
 
+    args = pycompat.byteskwargs(args)
     ui = args['ui']
 
     values = []