repair-issue6528: remove a now useless continue
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 08:54:33 +0200
changeset 50464 a52aae8bcc7a
parent 50460 f57f5ab0e220
child 50465 63dc24be635d
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.
mercurial/revlogutils/rewrite.py
--- a/mercurial/revlogutils/rewrite.py	Tue May 09 11:35:50 2023 +0200
+++ b/mercurial/revlogutils/rewrite.py	Mon May 15 08:54:33 2023 +0200
@@ -838,11 +838,6 @@
         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)