diff tests/test-dispatch.t @ 48360:e4acdf5d94a2

extensions: highlight the name of the faulty extensions in the error message This make it easier to understand the message when the extensions name is common. Differential Revision: https://phab.mercurial-scm.org/D11821
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 29 Nov 2021 13:09:04 +0100
parents 821929d59e01
children 8c4881c07f57
line wrap: on
line diff
--- a/tests/test-dispatch.t	Fri Nov 26 16:55:34 2021 +0100
+++ b/tests/test-dispatch.t	Mon Nov 29 13:09:04 2021 +0100
@@ -84,7 +84,7 @@
   > raise Exception('bad')
   > EOF
   $ hg log -b '--config=extensions.bad=bad.py' default
-  *** failed to import extension bad from bad.py: bad
+  *** failed to import extension "bad" from bad.py: bad
   abort: option --config may not be abbreviated
   [10]