mercurial/commands.py
branchstable
changeset 50691 ba602ddcb296
parent 50369 80784ac09460
child 50692 9d4a2ea3dcb9
--- a/mercurial/commands.py	Fri Jun 09 14:31:40 2023 +0100
+++ b/mercurial/commands.py	Fri Jun 09 14:32:09 2023 +0100
@@ -5219,7 +5219,7 @@
                     value = b'yes'
                 else:
                     value = b'no'
-            fm.condwrite(showsubopts, subopt, b'%s\n', value)
+            fm.condwrite(showsubopts, subopt, b'%s\n', pycompat.bytestr(value))
 
     fm.end()