mercurial/store.py
changeset 50532 1b776f25302f
parent 50531 66c556968222
child 50538 862e3a13da44
--- 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)