equal
deleted
inserted
replaced
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 " |