changeset 44611:8fca7e8449a8 stable 5.3.2

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
author Kyle Lippincott <spectral@google.com>
date Wed, 01 Apr 2020 14:14:55 -0700
parents 2141427533d2
children cf3435af0efb
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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