mercurial/debugcommands.py
changeset 35448 8251c4c4abdc
parent 35424 702e6d2642e7
child 35454 786289423e97
equal deleted inserted replaced
35447:e28dedf4ff43 35448:8251c4c4abdc
  1171     fm.write('compenginesserver', _('checking available compression engines '
  1171     fm.write('compenginesserver', _('checking available compression engines '
  1172                                     'for wire protocol (%s)\n'),
  1172                                     'for wire protocol (%s)\n'),
  1173              fm.formatlist([e.name() for e in wirecompengines
  1173              fm.formatlist([e.name() for e in wirecompengines
  1174                             if e.wireprotosupport()],
  1174                             if e.wireprotosupport()],
  1175                            name='compengine', fmt='%s', sep=', '))
  1175                            name='compengine', fmt='%s', sep=', '))
       
  1176     re2 = 'missing'
       
  1177     if util._re2:
       
  1178         re2 = 'available'
       
  1179     fm.plain(_('checking "re2" regexp engine (%s)\n') % re2)
       
  1180     fm.data(re2=bool(util._re2))
  1176 
  1181 
  1177     # templates
  1182     # templates
  1178     p = templater.templatepaths()
  1183     p = templater.templatepaths()
  1179     fm.write('templatedirs', 'checking templates (%s)...\n', ' '.join(p))
  1184     fm.write('templatedirs', 'checking templates (%s)...\n', ' '.join(p))
  1180     fm.condwrite(not p, '', _(" no template directories found\n"))
  1185     fm.condwrite(not p, '', _(" no template directories found\n"))