# HG changeset patch # User Pierre-Yves David # Date 2023-05-15 06:54:33 # Node ID a52aae8bcc7ac5d9dfe2c12cd4b433a8e6c8d62d # Parent f57f5ab0e2207aefe4fde8901f0ea823f11914b9 repair-issue6528: remove a now useless continue The condition for that continue have been excplicly filtered out of the `files` list a handful of line earlier. diff --git a/mercurial/revlogutils/rewrite.py b/mercurial/revlogutils/rewrite.py --- a/mercurial/revlogutils/rewrite.py +++ b/mercurial/revlogutils/rewrite.py @@ -838,11 +838,6 @@ def repair_issue6528( found_nothing = True for file_type, path in files: - if ( - not path.endswith(b'.i') - or not file_type & store.FILEFLAGS_FILELOG - ): - continue progress.increment() filename = _get_filename_from_filelog_index(path) fl = _filelog_from_filename(repo, filename)