diff -r aede57466804 -r 862e3a13da44 hgext/largefiles/reposetup.py --- 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: