--- a/mercurial/commands.py Fri Aug 20 18:26:20 2010 +0200
+++ b/mercurial/commands.py Fri Aug 20 15:31:05 2010 -0500
@@ -1286,9 +1286,10 @@
problems += 1
# compiled modules
- ui.status(_("Checking extensions...\n"))
+ ui.status(_("Checking installed modules (%s)...\n")
+ % os.path.dirname(__file__))
try:
- import bdiff, mpatch, base85
+ import bdiff, mpatch, base85, osutil
except Exception, inst:
ui.write(" %s\n" % inst)
ui.write(_(" One or more extensions could not be found"))
--- a/tests/test-install.t Fri Aug 20 18:26:20 2010 +0200
+++ b/tests/test-install.t Fri Aug 20 15:31:05 2010 -0500
@@ -1,7 +1,7 @@
hg debuginstall
$ hg debuginstall
Checking encoding (ascii)...
- Checking extensions...
+ Checking installed modules \(.*/mercurial\)...
Checking templates...
Checking patch...
Checking commit editor...
@@ -11,7 +11,7 @@
hg debuginstall with no username
$ HGUSER= hg debuginstall
Checking encoding (ascii)...
- Checking extensions...
+ Checking installed modules \(.*/mercurial\)...
Checking templates...
Checking patch...
Checking commit editor...