author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Mon, 15 May 2023 22:09:43 +0200 | |
changeset 50498 | 1b776f25302f |
parent 50497 | 66c556968222 |
child 50499 | 7a1a0a236187 |
--- a/mercurial/store.py Mon May 15 22:09:15 2023 +0200 +++ b/mercurial/store.py Mon May 15 22:09:43 2023 +0200 @@ -41,9 +41,9 @@ if matcher is None: return True - if entry.revlog_type == FILEFLAGS_FILELOG: + if entry.is_filelog: return matcher(entry.target_id) - elif entry.revlog_type == FILEFLAGS_MANIFESTLOG: + elif entry.is_manifestlog: return matcher.visitdir(entry.target_id.rstrip(b'/')) raise error.ProgrammingError(b"cannot process entry %r" % entry)