# HG changeset patch # User Matt Harbison # Date 1672958294 18000 # Node ID 8cb848601bec06248059371c36fc05fe1f41ef6e # Parent ab32fd8412a79d8badf6a78acc81b99cafe30d59 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. diff -r ab32fd8412a7 -r 8cb848601bec hgext/histedit.py --- 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