changeset 49858:8cb848601bec

histedit: byteify the help for the multifold action While there's some allowance for str in `_()`, it's commented to be for "goofy unicode docstrings in test", so no idea how well that works, but it should at least come back as bytes. With HGPLAIN, however, the str isn't touched and is returned as-is, so this seems like a real bug.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 05 Jan 2023 17:38:14 -0500
parents ab32fd8412a7
children 8b369bcbadf1
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/histedit.py	Thu Jan 05 17:31:11 2023 -0500
+++ b/hgext/histedit.py	Thu Jan 05 17:38:14 2023 -0500
@@ -996,7 +996,7 @@
 @action(
     [b'_multifold'],
     _(
-        """fold subclass used for when multiple folds happen in a row
+        b"""fold subclass used for when multiple folds happen in a row
 
     We only want to fire the editor for the folded message once when
     (say) four changes are folded down into a single change. This is