--- a/hgext/children.py Sun Aug 20 15:24:58 2023 -0400
+++ b/hgext/children.py Sun Aug 20 15:30:39 2023 -0400
@@ -67,8 +67,7 @@
See :hg:`help log` and :hg:`help revsets.children`.
"""
- opts = pycompat.byteskwargs(opts)
- rev = opts.get(b'rev')
+ rev = opts.get('rev')
ctx = logcmdutil.revsingle(repo, rev)
if file_:
fctx = repo.filectx(file_, changeid=ctx.rev())
@@ -76,7 +75,9 @@
else:
childctxs = ctx.children()
- displayer = logcmdutil.changesetdisplayer(ui, repo, opts)
+ displayer = logcmdutil.changesetdisplayer(
+ ui, repo, pycompat.byteskwargs(opts)
+ )
for cctx in childctxs:
displayer.show(cctx)
displayer.close()