hgext/children.py
changeset 34973 11a372d80496
parent 34945 d2554ef04d26
child 35888 c8e2d6ed1f9e
--- 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)