changeset 50501:4242acf5c399

store: use the new boolean property in `remotefilelogserver`
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 22:11:02 +0200
parents 0bd214f83216
children e4186ddab473
files hgext/remotefilelog/remotefilelogserver.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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