hgext/largefiles/lfutil.py
changeset 50471 521fec115dad
parent 50153 98890baf324e
child 50488 b4a9c8f18928
--- a/hgext/largefiles/lfutil.py	Mon May 15 08:56:08 2023 +0200
+++ b/hgext/largefiles/lfutil.py	Mon May 15 08:56:23 2023 +0200
@@ -552,7 +552,8 @@
 def islfilesrepo(repo):
     '''Return true if the repo is a largefile repo.'''
     if b'largefiles' in repo.requirements and any(
-        shortnameslash in f[1] for f in repo.store.datafiles()
+        shortnameslash in entry.unencoded_path
+        for entry in repo.store.datafiles()
     ):
         return True