Show More
@@ -24,6 +24,7 b' from . import (' | |||
|
24 | 24 | phases, |
|
25 | 25 | requirements, |
|
26 | 26 | scmutil, |
|
27 | store, | |
|
27 | 28 | transaction, |
|
28 | 29 | util, |
|
29 | 30 | ) |
@@ -445,13 +446,12 b' def manifestrevlogs(repo):' | |||
|
445 | 446 | # This logic is safe if treemanifest isn't enabled, but also |
|
446 | 447 | # pointless, so we skip it if treemanifest isn't enabled. |
|
447 | 448 | for entry in repo.store.datafiles(): |
|
448 | unencoded = entry.unencoded_path | |
|
449 | # XXX use the entry.revlog_type instead | |
|
450 | if unencoded.startswith(b'meta/') and unencoded.endswith( | |
|
451 |
|
|
|
452 | ): | |
|
453 | dir = unencoded[5:-12] | |
|
454 | yield repo.manifestlog.getstorage(dir) | |
|
449 | if not entry.is_revlog: | |
|
450 | continue | |
|
451 | if not entry.revlog_type == store.FILEFLAGS_MANIFESTLOG: | |
|
452 | continue | |
|
453 | if entry.is_revlog_main: | |
|
454 | yield repo.manifestlog.getstorage(entry.target_id) | |
|
455 | 455 | |
|
456 | 456 | |
|
457 | 457 | def rebuildfncache(ui, repo, only_data=False): |
General Comments 0
You need to be logged in to leave comments.
Login now