Skip to content
Snippets Groups Projects
Commit ebe488e0 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

extensions: fix a debug message when searching for extensions

The "next" value was wrong. When 'hgext.NAME' is not found we now search for
'hgext3rd.NAME'.
parent ba06562a
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@
try:
mod = _importh("hgext.%s" % name)
except ImportError as err:
_reportimporterror(ui, err, "hgext.%s" % name, name)
_reportimporterror(ui, err, "hgext.%s" % name, "hgext3rd.%s" % name)
try:
mod = _importh("hgext3rd.%s" % name)
except ImportError as err:
......
......@@ -53,7 +53,7 @@
*** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
Traceback (most recent call last):
Exception: bit bucket overflow
could not import hgext.badext2 (No module named *badext2): trying badext2 (glob)
could not import hgext.badext2 (No module named *badext2): trying hgext3rd.badext2 (glob)
Traceback (most recent call last):
ImportError: No module named *badext2 (glob)
could not import hgext3rd.badext2 (No module named *badext2): trying badext2 (glob)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment