equal
deleted
inserted
replaced
793 return filelog.narrowfilelog(self.svfs, path, self.narrowmatch()) |
793 return filelog.narrowfilelog(self.svfs, path, self.narrowmatch()) |
794 |
794 |
795 def makefilestorage(requirements, features, **kwargs): |
795 def makefilestorage(requirements, features, **kwargs): |
796 """Produce a type conforming to ``ilocalrepositoryfilestorage``.""" |
796 """Produce a type conforming to ``ilocalrepositoryfilestorage``.""" |
797 features.add(repository.REPO_FEATURE_REVLOG_FILE_STORAGE) |
797 features.add(repository.REPO_FEATURE_REVLOG_FILE_STORAGE) |
|
798 features.add(repository.REPO_FEATURE_STREAM_CLONE) |
798 |
799 |
799 if repository.NARROW_REQUIREMENT in requirements: |
800 if repository.NARROW_REQUIREMENT in requirements: |
800 return revlognarrowfilestorage |
801 return revlognarrowfilestorage |
801 else: |
802 else: |
802 return revlogfilestorage |
803 return revlogfilestorage |