equal
deleted
inserted
replaced
22 obsutil, |
22 obsutil, |
23 pathutil, |
23 pathutil, |
24 phases, |
24 phases, |
25 requirements, |
25 requirements, |
26 scmutil, |
26 scmutil, |
27 store, |
|
28 transaction, |
27 transaction, |
29 util, |
28 util, |
30 ) |
29 ) |
31 from .utils import ( |
30 from .utils import ( |
32 hashutil, |
31 hashutil, |
444 yield repo.manifestlog.getstorage(b'') |
443 yield repo.manifestlog.getstorage(b'') |
445 if scmutil.istreemanifest(repo): |
444 if scmutil.istreemanifest(repo): |
446 # This logic is safe if treemanifest isn't enabled, but also |
445 # This logic is safe if treemanifest isn't enabled, but also |
447 # pointless, so we skip it if treemanifest isn't enabled. |
446 # pointless, so we skip it if treemanifest isn't enabled. |
448 for entry in repo.store.data_entries(): |
447 for entry in repo.store.data_entries(): |
449 if not entry.is_revlog: |
448 if entry.is_revlog and entry.is_manifestlog: |
450 continue |
|
451 if entry.revlog_type == store.FILEFLAGS_MANIFESTLOG: |
|
452 yield repo.manifestlog.getstorage(entry.target_id) |
449 yield repo.manifestlog.getstorage(entry.target_id) |
453 |
450 |
454 |
451 |
455 def rebuildfncache(ui, repo, only_data=False): |
452 def rebuildfncache(ui, repo, only_data=False): |
456 """Rebuilds the fncache file from repo history. |
453 """Rebuilds the fncache file from repo history. |