diff mercurial/commands.py @ 15200:797bf1dc1ff8

debuginstall: report the template path
author Matt Mackall <mpm@selenic.com>
date Fri, 07 Oct 2011 15:36:50 -0500
parents 62dc0e7ab092
children 0150741caace
line wrap: on
line diff
--- 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)