mercurial/cmdutil.py
changeset 47431 fca9c63f160e
parent 47428 54849b65dc5f
child 47432 7f7457f84311
--- a/mercurial/cmdutil.py	Thu Jun 10 14:47:14 2021 -0700
+++ b/mercurial/cmdutil.py	Thu Jun 10 14:55:10 2021 -0700
@@ -2783,6 +2783,7 @@
 
 
 def amend(ui, repo, old, extra, pats, opts):
+    opts = pycompat.byteskwargs(opts)
     # avoid cycle context -> subrepo -> cmdutil
     from . import context