diff mercurial/dispatch.py @ 45952:a2104b9b1787

dispatch: quote the extension when printing the bug report I think this reads better in the wall of text. Differential Revision: https://phab.mercurial-scm.org/D9438
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Nov 2020 15:39:27 -0500
parents c26cb33e5219
children d896c958e428
line wrap: on
line diff
--- a/mercurial/dispatch.py	Fri Nov 27 14:31:59 2020 -0500
+++ b/mercurial/dispatch.py	Fri Nov 27 15:39:27 2020 -0500
@@ -1289,9 +1289,9 @@
         extver = version or _(b"(version N/A)")
         warning = _(
             b'** Unknown exception encountered with '
-            b'possibly-broken third-party extension %s %s\n'
+            b'possibly-broken third-party extension "%s" %s\n'
             b'** which supports versions %s of Mercurial.\n'
-            b'** Please disable %s and try your action again.\n'
+            b'** Please disable "%s" and try your action again.\n'
             b'** If that fixes the bug please report it to %s\n'
         ) % (name, extver, testedwith, name, stringutil.forcebytestr(report))
     else: