Mercurial > public > mercurial-scm > hg
comparison mercurial/revlogutils/rewrite.py @ 50461: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 | 96aa3a68d3b5 |
children | 521fec115dad |
comparison
equal
deleted
inserted
replaced
50460:f57f5ab0e220 | 50461:a52aae8bcc7a |
---|---|
836 total=len(files), | 836 total=len(files), |
837 ) | 837 ) |
838 found_nothing = True | 838 found_nothing = True |
839 | 839 |
840 for file_type, path in files: | 840 for file_type, path in files: |
841 if ( | |
842 not path.endswith(b'.i') | |
843 or not file_type & store.FILEFLAGS_FILELOG | |
844 ): | |
845 continue | |
846 progress.increment() | 841 progress.increment() |
847 filename = _get_filename_from_filelog_index(path) | 842 filename = _get_filename_from_filelog_index(path) |
848 fl = _filelog_from_filename(repo, filename) | 843 fl = _filelog_from_filename(repo, filename) |
849 | 844 |
850 # Set of filerevs (or hex filenodes if `to_report`) that need fixing | 845 # Set of filerevs (or hex filenodes if `to_report`) that need fixing |