# HG changeset patch # User Kyle Lippincott # Date 1585775695 25200 # 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 -r 2141427533d2 -r 8fca7e8449a8 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