mercurial/extensions.py
changeset 15199 56da00994067
parent 14943 d3bb825ddae3
child 16666 b9bef21cd214
--- a/mercurial/extensions.py	Sun Oct 02 14:34:28 2011 -0400
+++ b/mercurial/extensions.py	Sat Oct 01 16:42:39 2011 -0400
@@ -69,7 +69,9 @@
             return mod
         try:
             mod = importh("hgext.%s" % name)
-        except ImportError:
+        except ImportError, err:
+            ui.debug('could not import hgext.%s (%s): trying %s\n'
+                     % (name, err, name))
             mod = importh(name)
     _extensions[shortname] = mod
     _order.append(shortname)