mercurial/debugcommands.py
changeset 44870 9f96beb9bafe
parent 44856 b7808443ed6a
child 45100 d50d922ca02b
equal deleted inserted replaced
44869:4313a0d7540d 44870:9f96beb9bafe
  1648     if util._re2:
  1648     if util._re2:
  1649         re2 = b'available'
  1649         re2 = b'available'
  1650     fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
  1650     fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
  1651     fm.data(re2=bool(util._re2))
  1651     fm.data(re2=bool(util._re2))
  1652 
  1652 
  1653     rust_debug_mod = policy.importrust("debug")
       
  1654     if rust_debug_mod is not None:
       
  1655         re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
       
  1656 
       
  1657         msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
       
  1658         fm.plain(_(msg % re2_rust))
       
  1659 
       
  1660     # templates
  1653     # templates
  1661     p = templater.templatepaths()
  1654     p = templater.templatepaths()
  1662     fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))
  1655     fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))
  1663     fm.condwrite(not p, b'', _(b" no template directories found\n"))
  1656     fm.condwrite(not p, b'', _(b" no template directories found\n"))
  1664     if p:
  1657     if p: