patch: convert a UI message to bytes when editing a patch
Differential Revision: https://phab.mercurial-scm.org/D10178
--- 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.