Mercurial > public > mercurial-scm > hg
comparison mercurial/dispatch.py @ 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 | c3fd9a0f8277 |
children | b0144fc8b681 |
comparison
equal
deleted
inserted
replaced
38024:f5a1aa8c6987 | 38025:5046c906b25d |
---|---|
1026 warning = (_('** Unknown exception encountered with ' | 1026 warning = (_('** Unknown exception encountered with ' |
1027 'possibly-broken third-party extension %s\n' | 1027 'possibly-broken third-party extension %s\n' |
1028 '** which supports versions %s of Mercurial.\n' | 1028 '** which supports versions %s of Mercurial.\n' |
1029 '** Please disable %s and try your action again.\n' | 1029 '** Please disable %s and try your action again.\n' |
1030 '** If that fixes the bug please report it to %s\n') | 1030 '** If that fixes the bug please report it to %s\n') |
1031 % (name, testedwith, name, report)) | 1031 % (name, testedwith, name, stringutil.forcebytestr(report))) |
1032 else: | 1032 else: |
1033 bugtracker = ui.config('ui', 'supportcontact') | 1033 bugtracker = ui.config('ui', 'supportcontact') |
1034 if bugtracker is None: | 1034 if bugtracker is None: |
1035 bugtracker = _("https://mercurial-scm.org/wiki/BugTracker") | 1035 bugtracker = _("https://mercurial-scm.org/wiki/BugTracker") |
1036 warning = (_("** unknown exception encountered, " | 1036 warning = (_("** unknown exception encountered, " |