##// END OF EJS Templates
debuginstall: report the template path
Matt Mackall -
r15200:797bf1dc default
parent child Browse files
Show More
@@ -1854,9 +1854,10 b' def debuginstall(ui):'
1854 problems += 1
1854 problems += 1
1855
1855
1856 # templates
1856 # templates
1857 ui.status(_("Checking templates...\n"))
1857 import templater
1858 p = templater.templatepath()
1859 ui.status(_("Checking templates (%s)...\n") % ' '.join(p))
1858 try:
1860 try:
1859 import templater
1860 templater.templater(templater.templatepath("map-cmdline.default"))
1861 templater.templater(templater.templatepath("map-cmdline.default"))
1861 except Exception, inst:
1862 except Exception, inst:
1862 ui.write(" %s\n" % inst)
1863 ui.write(" %s\n" % inst)
@@ -2,7 +2,7 b' hg debuginstall'
2 $ hg debuginstall
2 $ hg debuginstall
3 Checking encoding (ascii)...
3 Checking encoding (ascii)...
4 Checking installed modules (*/mercurial)... (glob)
4 Checking installed modules (*/mercurial)... (glob)
5 Checking templates...
5 Checking templates (*/mercurial/templates)... (glob)
6 Checking commit editor...
6 Checking commit editor...
7 Checking username...
7 Checking username...
8 No problems detected
8 No problems detected
@@ -11,7 +11,7 b' hg debuginstall with no username'
11 $ HGUSER= hg debuginstall
11 $ HGUSER= hg debuginstall
12 Checking encoding (ascii)...
12 Checking encoding (ascii)...
13 Checking installed modules (*/mercurial)... (glob)
13 Checking installed modules (*/mercurial)... (glob)
14 Checking templates...
14 Checking templates (*/mercurial/templates)... (glob)
15 Checking commit editor...
15 Checking commit editor...
16 Checking username...
16 Checking username...
17 no username supplied (see "hg help config")
17 no username supplied (see "hg help config")
General Comments 0
You need to be logged in to leave comments. Login now