mercurial/commands.py
changeset 15200 797bf1dc1ff8
parent 15198 62dc0e7ab092
child 15202 0150741caace
equal deleted inserted replaced
15199:56da00994067 15200:797bf1dc1ff8
  1852         ui.write(_(" One or more extensions could not be found"))
  1852         ui.write(_(" One or more extensions could not be found"))
  1853         ui.write(_(" (check that you compiled the extensions)\n"))
  1853         ui.write(_(" (check that you compiled the extensions)\n"))
  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)
  1863         ui.write(_(" (templates seem to have been installed incorrectly)\n"))
  1864         ui.write(_(" (templates seem to have been installed incorrectly)\n"))
  1864         problems += 1
  1865         problems += 1