store: use the new boolean property in `remotefilelogserver`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 22:11:02 +0200
changeset 50501 4242acf5c399
parent 50500 0bd214f83216
child 50502 e4186ddab473
store: use the new boolean property in `remotefilelogserver`
hgext/remotefilelog/remotefilelogserver.py
--- a/hgext/remotefilelog/remotefilelogserver.py	Mon May 15 22:10:33 2023 +0200
+++ b/hgext/remotefilelog/remotefilelogserver.py	Mon May 15 22:11:02 2023 +0200
@@ -175,7 +175,7 @@
                 for entry in repo.store.datafiles():
                     if not entry.is_revlog:
                         continue
-                    if entry.revlog_type == store.FILEFLAGS_MANIFESTLOG:
+                    if entry.is_manifestlog:
                         yield entry
 
             # Return .d and .i files that do not match the shallow pattern