hgext/largefiles/reposetup.py
changeset 50504 862e3a13da44
parent 50488 b4a9c8f18928
child 51624 e32f23f15623
--- a/hgext/largefiles/reposetup.py	Mon May 15 22:03:39 2023 +0200
+++ b/hgext/largefiles/reposetup.py	Tue May 16 10:43:36 2023 +0200
@@ -460,7 +460,7 @@
             if b'largefiles' in repo.requirements:
                 return
             marker = lfutil.shortnameslash
-            for entry in repo.store.datafiles():
+            for entry in repo.store.data_entries():
                 # XXX note that this match is not rooted and can wrongly match
                 # directory ending with ".hglf"
                 if entry.is_revlog and marker in entry.target_id: