# HG changeset patch # User Pierre-Yves David # Date 1684133673 -7200 # 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 -r f57f5ab0e220 -r a52aae8bcc7a 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)