Show More
@@ -808,8 +808,6 b' def filter_delta_issue6528(revlog, delta' | |||||
808 | def repair_issue6528( |
|
808 | def repair_issue6528( | |
809 | ui, repo, dry_run=False, to_report=None, from_report=None, paranoid=False |
|
809 | ui, repo, dry_run=False, to_report=None, from_report=None, paranoid=False | |
810 | ): |
|
810 | ): | |
811 | from .. import store # avoid cycle |
|
|||
812 |
|
||||
813 | @contextlib.contextmanager |
|
811 | @contextlib.contextmanager | |
814 | def context(): |
|
812 | def context(): | |
815 | if dry_run or to_report: # No need for locking |
|
813 | if dry_run or to_report: # No need for locking | |
@@ -827,9 +825,7 b' def repair_issue6528(' | |||||
827 | files = list( |
|
825 | files = list( | |
828 | entry |
|
826 | entry | |
829 | for entry in repo.store.datafiles() |
|
827 | for entry in repo.store.datafiles() | |
830 | if ( |
|
828 | if entry.is_revlog and entry.is_filelog | |
831 | entry.is_revlog and entry.revlog_type == store.FILEFLAGS_FILELOG |
|
|||
832 | ) |
|
|||
833 | ) |
|
829 | ) | |
834 |
|
830 | |||
835 | progress = ui.makeprogress( |
|
831 | progress = ui.makeprogress( |
General Comments 0
You need to be logged in to leave comments.
Login now