mercurial/debugcommands.py
changeset 39244 73cf21b2e8a6
parent 39163 26f3d075f36e
child 39279 cb9cf42c902f
equal deleted inserted replaced
39243:0d97530eb535 39244:73cf21b2e8a6
  1484          _('NODE'))
  1484          _('NODE'))
  1485     ], '')
  1485     ], '')
  1486 def debugmanifestfulltextcache(ui, repo, add=None, **opts):
  1486 def debugmanifestfulltextcache(ui, repo, add=None, **opts):
  1487     """show, clear or amend the contents of the manifest fulltext cache"""
  1487     """show, clear or amend the contents of the manifest fulltext cache"""
  1488     with repo.lock():
  1488     with repo.lock():
  1489         r = repo.manifestlog._revlog
  1489         r = repo.manifestlog.getstorage(b'')
  1490         try:
  1490         try:
  1491             cache = r._fulltextcache
  1491             cache = r._fulltextcache
  1492         except AttributeError:
  1492         except AttributeError:
  1493             ui.warn(_(
  1493             ui.warn(_(
  1494                 "Current revlog implementation doesn't appear to have a "
  1494                 "Current revlog implementation doesn't appear to have a "