D1298: py3: handle keyword arguments in hgext/children.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Nov 2 21:14:27 UTC 2017
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
More information about the Mercurial-devel
mailing list