changeset 38025:5046c906b25d

py3: convert the report to bytes Differential Revision: https://phab.mercurial-scm.org/D3569
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 27 Apr 2018 21:55:02 +0530
parents f5a1aa8c6987
children ca890999d317
files mercurial/dispatch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: