changeset 50464:a52aae8bcc7a

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 08:54:33 +0200
parents f57f5ab0e220
children 63dc24be635d
files mercurial/revlogutils/rewrite.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)