##// END OF EJS Templates
localrepo: eliminate requirements class variable (API)...
Drew Gottlieb -
r24913:e3a928bd default
parent child Browse files
Show More
@@ -196,7 +196,6 b' class localrepository(object):'
196 _basesupported = supportedformats | set(('store', 'fncache', 'shared',
196 _basesupported = supportedformats | set(('store', 'fncache', 'shared',
197 'dotencode'))
197 'dotencode'))
198 openerreqs = set(('revlogv1', 'generaldelta', 'manifestv2'))
198 openerreqs = set(('revlogv1', 'generaldelta', 'manifestv2'))
199 requirements = ['revlogv1']
200 filtername = None
199 filtername = None
201
200
202 # a list of (ui, featureset) functions.
201 # a list of (ui, featureset) functions.
@@ -204,7 +203,7 b' class localrepository(object):'
204 featuresetupfuncs = set()
203 featuresetupfuncs = set()
205
204
206 def _baserequirements(self, create):
205 def _baserequirements(self, create):
207 return self.requirements[:]
206 return ['revlogv1']
208
207
209 def __init__(self, baseui, path=None, create=False):
208 def __init__(self, baseui, path=None, create=False):
210 self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True)
209 self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True)
General Comments 0
You need to be logged in to leave comments. Login now