hgext/largefiles/lfutil.py
changeset 46895 6085b7f1536d
parent 46780 6266d19556ad
child 47012 d55b71393907
--- a/hgext/largefiles/lfutil.py	Mon Apr 05 23:54:54 2021 -0400
+++ b/hgext/largefiles/lfutil.py	Tue Apr 06 10:38:03 2021 +0200
@@ -514,7 +514,7 @@
 def islfilesrepo(repo):
     '''Return true if the repo is a largefile repo.'''
     if b'largefiles' in repo.requirements and any(
-        shortnameslash in f[0] for f in repo.store.datafiles()
+        shortnameslash in f[1] for f in repo.store.datafiles()
     ):
         return True