# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-04-27 16:25:02 # Node ID 5046c906b25d858d5f961bc064dfb270c3a159b4 # Parent f5a1aa8c69877c5560af9e058f3a4f75022f25e5 py3: convert the report to bytes Differential Revision: https://phab.mercurial-scm.org/D3569 diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -1028,7 +1028,7 @@ def _exceptionwarning(ui): '** 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: