diff -r d626e5e7bbbe -r c6560ee526d2 mercurial/commands.py --- a/mercurial/commands.py Tue Jan 30 22:14:02 2024 +0000 +++ b/mercurial/commands.py Thu Feb 01 19:35:35 2024 -0500 @@ -3679,7 +3679,7 @@ wopts = logcmdutil.walkopts( pats=pats, - opts=opts, + opts=pycompat.byteskwargs(opts), revspec=opts['rev'], include_pats=opts['include'], exclude_pats=opts['exclude'],