py3: handle keyword arguments in hgext/children.py
Differential Revision: https://phab.mercurial-scm.org/D1298
--- 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)