py3: convert the report to bytes
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 27 Apr 2018 21:55:02 +0530
changeset 38025 5046c906b25d
parent 38024 f5a1aa8c6987
child 38026 ca890999d317
py3: convert the report to bytes Differential Revision: https://phab.mercurial-scm.org/D3569
mercurial/dispatch.py
--- a/mercurial/dispatch.py	Fri May 11 10:36:28 2018 -0700
+++ b/mercurial/dispatch.py	Fri Apr 27 21:55:02 2018 +0530
@@ -1028,7 +1028,7 @@
                      '** which supports versions %s of Mercurial.\n'
                      '** Please disable %s and try your action again.\n'
                      '** If that fixes the bug please report it to %s\n')
-                   % (name, testedwith, name, report))
+                   % (name, testedwith, name, stringutil.forcebytestr(report)))
     else:
         bugtracker = ui.config('ui', 'supportcontact')
         if bugtracker is None: