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: |
554 if b'largefiles' in repo.requirements: |
555 for entry in repo.store.datafiles(): |
555 for entry in repo.store.data_entries(): |
556 if entry.is_revlog and shortnameslash in entry.target_id: |
556 if entry.is_revlog and shortnameslash in entry.target_id: |
557 return True |
557 return True |
558 |
558 |
559 return any(openlfdirstate(repo.ui, repo, False)) |
559 return any(openlfdirstate(repo.ui, repo, False)) |
560 |
560 |