mercurial/help.py
branchstable
changeset 49641 f09bc2ed9100
parent 49567 04e6add9e4dc
child 49664 f56873a7284c
--- a/mercurial/help.py	Sat Nov 19 16:14:20 2022 +0100
+++ b/mercurial/help.py	Sun Nov 20 15:55:27 2022 -0500
@@ -864,7 +864,7 @@
             if missing_order:
                 ui.develwarn(
                     b'help categories missing from CATEGORY_ORDER: %s'
-                    % missing_order
+                    % stringutil.forcebytestr(missing_order)
                 )
 
             # List per category.
@@ -897,7 +897,7 @@
             if missing_order:
                 ui.develwarn(
                     b'help categories missing from TOPIC_CATEGORY_ORDER: %s'
-                    % missing_order
+                    % stringutil.forcebytestr(missing_order)
                 )
 
             # Output topics per category.