equal
deleted
inserted
replaced
442 def manifestrevlogs(repo): |
442 def manifestrevlogs(repo): |
443 yield repo.manifestlog.getstorage(b'') |
443 yield repo.manifestlog.getstorage(b'') |
444 if scmutil.istreemanifest(repo): |
444 if scmutil.istreemanifest(repo): |
445 # This logic is safe if treemanifest isn't enabled, but also |
445 # This logic is safe if treemanifest isn't enabled, but also |
446 # pointless, so we skip it if treemanifest isn't enabled. |
446 # pointless, so we skip it if treemanifest isn't enabled. |
447 for t, unencoded, size in repo.store.datafiles(): |
447 for entry in repo.store.datafiles(): |
|
448 unencoded = entry.unencoded_path |
|
449 # XXX use the entry.revlog_type instead |
448 if unencoded.startswith(b'meta/') and unencoded.endswith( |
450 if unencoded.startswith(b'meta/') and unencoded.endswith( |
449 b'00manifest.i' |
451 b'00manifest.i' |
450 ): |
452 ): |
451 dir = unencoded[5:-12] |
453 dir = unencoded[5:-12] |
452 yield repo.manifestlog.getstorage(dir) |
454 yield repo.manifestlog.getstorage(dir) |