changeset 46400:5f86765c9707 stable

patch: convert a UI message to bytes when editing a patch Differential Revision: https://phab.mercurial-scm.org/D10178
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Mar 2021 18:45:18 -0500
parents 39f23d20ea47
children d6601547f22b
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Thu Mar 11 18:33:39 2021 -0500
+++ b/mercurial/patch.py	Thu Mar 11 18:45:18 2021 -0500
@@ -1210,7 +1210,7 @@
                 # Patch comment based on the Git one (based on comment at end of
                 # https://mercurial-scm.org/wiki/RecordExtension)
                 phelp = b'---' + _(
-                    """
+                    b"""
 To remove '-' lines, make them ' ' lines (context).
 To remove '+' lines, delete them.
 Lines starting with # will be removed from the patch.