hgext/patchbomb.py
branchstable
changeset 49704 a6b497872b97
parent 49312 48f1b314056b
--- a/hgext/patchbomb.py	Wed Mar 01 16:48:09 2023 +0100
+++ b/hgext/patchbomb.py	Tue Feb 28 18:14:11 2023 -0500
@@ -361,7 +361,12 @@
             ui.warn(_(b'warning: working directory has uncommitted changes\n'))
         output = stringio()
         cmdutil.exportfile(
-            repo, [r], output, opts=patch.difffeatureopts(ui, opts, git=True)
+            repo,
+            [r],
+            output,
+            opts=patch.difffeatureopts(
+                ui, pycompat.byteskwargs(opts), git=True
+            ),
         )
         yield output.getvalue().split(b'\n')