HomePhabricator

histedit: add missing b prefix to a string

Authored by spectral.

Description

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

Details

Committed
spectralApr 1 2020, 5:14 PM
Differential Revision
D8354: histedit: add missing b prefix to a string
Parents
rHG2141427533d2: py3: require values in changelog extras to be bytes
Branches
Unknown
Tags
Unknown