# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1508696590 -19800 # Node ID 11a372d804967ec3880ceeb86248ce6c43a9ac0b # Parent 375577785f499843a0f3b741e26fe8c046d9fa91 py3: handle keyword arguments in hgext/children.py Differential Revision: https://phab.mercurial-scm.org/D1298 diff -r 375577785f49 -r 11a372d80496 hgext/children.py --- a/hgext/children.py Sun Oct 22 23:52:47 2017 +0530 +++ b/hgext/children.py Sun Oct 22 23:53:10 2017 +0530 @@ -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)