mercurial/localrepo.py
changeset 40027 83146d176c03
parent 39996 dbcb466d0065
child 40056 324b4b10351e
equal deleted inserted replaced
40026:7e807b8a9e56 40027:83146d176c03
   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