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

2017-11-09 Thread pulkit (Pulkit Goyal)
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

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



To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


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

2017-11-04 Thread pulkit (Pulkit Goyal)
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/D1322

AFFECTED FILES
  hgext/releasenotes.py

CHANGE DETAILS

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



To: pulkit, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel