##// END OF EJS Templates
localrepo: move filtername to __init__...
Gregory Szorc -
r32730:b8ff7d0f default
parent child Browse files
Show More
@@ -270,7 +270,6 b' class localrepository(object):'
270 'treemanifest',
270 'treemanifest',
271 'manifestv2',
271 'manifestv2',
272 }
272 }
273 filtername = None
274
273
275 # a list of (ui, featureset) functions.
274 # a list of (ui, featureset) functions.
276 # only functions defined in module of enabled extensions are invoked
275 # only functions defined in module of enabled extensions are invoked
@@ -278,6 +277,7 b' class localrepository(object):'
278
277
279 def __init__(self, baseui, path, create=False):
278 def __init__(self, baseui, path, create=False):
280 self.requirements = set()
279 self.requirements = set()
280 self.filtername = None
281 # wvfs: rooted at the repository root, used to access the working copy
281 # wvfs: rooted at the repository root, used to access the working copy
282 self.wvfs = vfsmod.vfs(path, expandpath=True, realpath=True)
282 self.wvfs = vfsmod.vfs(path, expandpath=True, realpath=True)
283 # vfs: rooted at .hg, used to access repo files outside of .hg/store
283 # vfs: rooted at .hg, used to access repo files outside of .hg/store
@@ -127,6 +127,7 b' class statichttprepository(localrepo.loc'
127 self._phasedefaults = []
127 self._phasedefaults = []
128
128
129 self.names = namespaces.namespaces()
129 self.names = namespaces.namespaces()
130 self.filtername = None
130
131
131 try:
132 try:
132 requirements = scmutil.readrequires(self.vfs, self.supported)
133 requirements = scmutil.readrequires(self.vfs, self.supported)
General Comments 0
You need to be logged in to leave comments. Login now