Mercurial > hg
changeset 50498:1b776f25302f
store: use the boolean property in `store`
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 15 May 2023 22:09:43 +0200 |
parents | 66c556968222 |
children | 7a1a0a236187 |
files | mercurial/store.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)