Mercurial > hg
diff hgext/largefiles/reposetup.py @ 50504:862e3a13da44
store: rename `datafiles` to `data_entries`
The method is now returning StoreEntries let us rename the method for clarity.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 16 May 2023 10:43:36 +0200 |
parents | b4a9c8f18928 |
children | e32f23f15623 |
line wrap: on
line diff
--- 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: