# HG changeset patch # User Kyle Lippincott # Date 2020-04-01 21:14:55 # Node ID 8fca7e8449a847e3cf1054f2c07b51237699fad3 # Parent 2141427533d29f403283eb63d166c66fe48dc157 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 diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -291,7 +291,7 @@ def geteditcomment(ui, first, last): 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