Patchwork D8385: hgk: remove a "b" used on a kwargs expansion, the keys are strs

login
register
mail settings
Submitter phabricator
Date April 7, 2020, 10:25 a.m.
Message ID <3521a3ee50d614ed348759042c6233cb@localhost.localdomain>
Download mbox | patch
Permalink /patch/46034/
State Not Applicable
Headers show

Comments

phabricator - April 7, 2020, 10:25 a.m.
Closed by commit rHG1756f75873bf: hgk: remove a &quot;b&quot; used on a kwargs expansion, the keys are strs (authored by spectral).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8385?vs=21001&id=21002

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

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

AFFECTED FILES
  hgext/hgk.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/hgk.py b/hgext/hgk.py
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -358,7 +358,7 @@ 
 )
 def revlist(ui, repo, *revs, **opts):
     """print revisions"""
-    if opts[b'header']:
+    if opts['header']:
         full = b"commit"
     else:
         full = None