Patchwork D1322: py3: handle keyword arguments in hgext/releasenotes.py

login
register
mail settings
Submitter phabricator
Date Nov. 9, 2017, 1:15 p.m.
Message ID <806ad4566afc9cc06ebbc17f85d805c2@localhost.localdomain>
Download mbox | patch
Permalink /patch/25443/
State Not Applicable
Headers show

Comments

phabricator - Nov. 9, 2017, 1:15 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe68dd1909af3: py3: handle keyword arguments in hgext/releasenotes.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1322?vs=3285&id=3366

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

AFFECTED FILES
  hgext/releasenotes.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/releasenotes.py b/hgext/releasenotes.py
--- a/hgext/releasenotes.py
+++ b/hgext/releasenotes.py
@@ -25,6 +25,7 @@ 
     error,
     minirst,
     node,
+    pycompat,
     registrar,
     scmutil,
     util,
@@ -570,6 +571,8 @@ 
     admonitions along with their title. This also includes the custom
     admonitions (if any).
     """
+
+    opts = pycompat.byteskwargs(opts)
     sections = releasenotessections(ui, repo)
 
     listflag = opts.get('list')