changeset 49630:e90767a71dc0 stable

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 a20e3758f53c
children 2b8ead6bbb77
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/histedit.py	Mon Jan 09 18:25:31 2023 +0400
+++ 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