equal
deleted
inserted
replaced
550 |
550 |
551 |
551 |
552 def islfilesrepo(repo): |
552 def islfilesrepo(repo): |
553 '''Return true if the repo is a largefile repo.''' |
553 '''Return true if the repo is a largefile repo.''' |
554 if b'largefiles' in repo.requirements and any( |
554 if b'largefiles' in repo.requirements and any( |
555 shortnameslash in f[1] for f in repo.store.datafiles() |
555 shortnameslash in entry.unencoded_path |
|
556 for entry in repo.store.datafiles() |
556 ): |
557 ): |
557 return True |
558 return True |
558 |
559 |
559 return any(openlfdirstate(repo.ui, repo, False)) |
560 return any(openlfdirstate(repo.ui, repo, False)) |
560 |
561 |