--- a/mercurial/commands.py Sat Oct 01 16:42:39 2011 -0400
+++ b/mercurial/commands.py Fri Oct 07 15:36:50 2011 -0500
@@ -1854,9 +1854,10 @@
problems += 1
# templates
- ui.status(_("Checking templates...\n"))
+ import templater
+ p = templater.templatepath()
+ ui.status(_("Checking templates (%s)...\n") % ' '.join(p))
try:
- import templater
templater.templater(templater.templatepath("map-cmdline.default"))
except Exception, inst:
ui.write(" %s\n" % inst)
--- a/tests/test-install.t Sat Oct 01 16:42:39 2011 -0400
+++ b/tests/test-install.t Fri Oct 07 15:36:50 2011 -0500
@@ -2,7 +2,7 @@
$ hg debuginstall
Checking encoding (ascii)...
Checking installed modules (*/mercurial)... (glob)
- Checking templates...
+ Checking templates (*/mercurial/templates)... (glob)
Checking commit editor...
Checking username...
No problems detected
@@ -11,7 +11,7 @@
$ HGUSER= hg debuginstall
Checking encoding (ascii)...
Checking installed modules (*/mercurial)... (glob)
- Checking templates...
+ Checking templates (*/mercurial/templates)... (glob)
Checking commit editor...
Checking username...
no username supplied (see "hg help config")