##// END OF EJS Templates
repair: use `is_manifestlog` to recognise manifest revlog...
marmoute -
r51572:8f7e189a default
parent child Browse files
Show More
@@ -24,7 +24,6 b' from . import ('
24 phases,
24 phases,
25 requirements,
25 requirements,
26 scmutil,
26 scmutil,
27 store,
28 transaction,
27 transaction,
29 util,
28 util,
30 )
29 )
@@ -446,9 +445,7 b' def manifestrevlogs(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
General Comments 0
You need to be logged in to leave comments. Login now