D1298: py3: handle keyword arguments in hgext/children.py

2017-11-04 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG11a372d80496: py3: handle keyword arguments in 
hgext/children.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1298?vs=3235=3273

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

AFFECTED FILES
  hgext/children.py

CHANGE DETAILS

diff --git a/hgext/children.py b/hgext/children.py
--- a/hgext/children.py
+++ b/hgext/children.py
@@ -19,6 +19,7 @@
 from mercurial.i18n import _
 from mercurial import (
 cmdutil,
+pycompat,
 registrar,
 )
 
@@ -55,6 +56,7 @@
 See :hg:`help log` and :hg:`help revsets.children`.
 
 """
+opts = pycompat.byteskwargs(opts)
 rev = opts.get('rev')
 if file_:
 fctx = repo.filectx(file_, changeid=rev)



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


D1298: py3: handle keyword arguments in hgext/children.py

2017-11-02 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/D1298

AFFECTED FILES
  hgext/children.py

CHANGE DETAILS

diff --git a/hgext/children.py b/hgext/children.py
--- a/hgext/children.py
+++ b/hgext/children.py
@@ -19,6 +19,7 @@
 from mercurial.i18n import _
 from mercurial import (
 cmdutil,
+pycompat,
 registrar,
 )
 
@@ -55,6 +56,7 @@
 See :hg:`help log` and :hg:`help revsets.children`.
 
 """
+opts = pycompat.byteskwargs(opts)
 rev = opts.get('rev')
 if file_:
 fctx = repo.filectx(file_, changeid=rev)



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