diff -r fe34c75f62ab -r 6085b7f1536d hgext/largefiles/lfutil.py --- 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