##// END OF EJS Templates
localrepo: drop the CamelCase name for `localrepo.revlognarrowfilestorage`...
Matt Harbison -
r52972:fc77b968 default
parent child Browse files
Show More
@@ -1258,7 +1258,7 class revlogfilestorage: # (repository.
1258 return filelog.filelog(self.svfs, path, try_split=try_split)
1258 return filelog.filelog(self.svfs, path, try_split=try_split)
1259
1259
1260
1260
1261 class RevlogNarrowFileStorage:
1261 class revlognarrowfilestorage: # (repository.ilocalrepositoryfilestorage)
1262 """File storage when using revlogs and narrow files."""
1262 """File storage when using revlogs and narrow files."""
1263
1263
1264 def file(self, path):
1264 def file(self, path):
@@ -1274,15 +1274,6 class RevlogNarrowFileStorage:
1274 )
1274 )
1275
1275
1276
1276
1277 revlognarrowfilestorage = interfaceutil.implementer(
1278 repository.ilocalrepositoryfilestorage
1279 )(RevlogNarrowFileStorage)
1280
1281 if typing.TYPE_CHECKING:
1282 # Help pytype by hiding the interface stuff that confuses it.
1283 revlognarrowfilestorage = RevlogNarrowFileStorage
1284
1285
1286 def makefilestorage(requirements, features, **kwargs):
1277 def makefilestorage(requirements, features, **kwargs):
1287 """Produce a type conforming to ``ilocalrepositoryfilestorage``."""
1278 """Produce a type conforming to ``ilocalrepositoryfilestorage``."""
1288 features.add(repository.REPO_FEATURE_REVLOG_FILE_STORAGE)
1279 features.add(repository.REPO_FEATURE_REVLOG_FILE_STORAGE)
General Comments 0
You need to be logged in to leave comments. Login now