histedit: add missing b prefix to a string stable 5.3.2
authorKyle Lippincott <spectral@google.com>
Wed, 01 Apr 2020 14:14:55 -0700
branchstable
changeset 44216 8fca7e8449a8
parent 44215 2141427533d2
child 44217 cf3435af0efb
histedit: add missing b prefix to a string If i18n is disabled (such as via HGPLAIN=1), `_()` doesn't convert from str to bytes, so this raises a TypeError on py3. Differential Revision: https://phab.mercurial-scm.org/D8354
hgext/histedit.py
--- a/hgext/histedit.py	Wed Mar 25 18:50:40 2020 -0700
+++ b/hgext/histedit.py	Wed Apr 01 14:14:55 2020 -0700
@@ -291,7 +291,7 @@
     Commands are only included once.
     """
     intro = _(
-        """Edit history between %s and %s
+        b"""Edit history between %s and %s
 
 Commits are listed from least to most recent