##// END OF EJS Templates
localrepo: add a cache with stat info for files under .hg/
Idan Kamara -
r14929:4bf9493e default
parent child Browse files
Show More
@@ -111,6 +111,12 b' class localrepository(repo.repository):'
111 111 self._datafilters = {}
112 112 self._transref = self._lockref = self._wlockref = None
113 113
114 # A cache for various files under .hg/ that tracks file changes,
115 # (used by the filecache decorator)
116 #
117 # Maps a property name to its util.filecacheentry
118 self._filecache = {}
119
114 120 def _applyrequirements(self, requirements):
115 121 self.requirements = requirements
116 122 openerreqs = set(('revlogv1', 'generaldelta'))
@@ -125,6 +125,7 b' class statichttprepository(localrepo.loc'
125 125 self.encodepats = None
126 126 self.decodepats = None
127 127 self.capabilities.difference_update(["pushkey"])
128 self._filecache = {}
128 129
129 130 def url(self):
130 131 return self._url
General Comments 0
You need to be logged in to leave comments. Login now