##// END OF EJS Templates
caches: fixes the file-store backend to use serialized names for filename cache of vcsserver....
super-admin -
r4777:42855995 default
parent child Browse files
Show More
@@ -185,8 +185,9 b' class RemoteRepo(object):'
185 self.url = remote_maker.url
185 self.url = remote_maker.url
186 self.stream_url = remote_maker.stream_url
186 self.stream_url = remote_maker.stream_url
187 self._session = remote_maker._session_factory()
187 self._session = remote_maker._session_factory()
188 cache_repo_id = self._repo_id_sanitizer(repo_id)
188 self._cache_region, self._cache_namespace = \
189 self._cache_region, self._cache_namespace = \
189 remote_maker.init_cache_region(self._repo_id_sanitizer(repo_id))
190 remote_maker.init_cache_region(self._repo_id_sanitizer(cache_repo_id))
190
191
191 with_wire = with_wire or {}
192 with_wire = with_wire or {}
192
193
@@ -194,6 +195,7 b' class RemoteRepo(object):'
194 self._wire = {
195 self._wire = {
195 "path": path, # repo path
196 "path": path, # repo path
196 "repo_id": repo_id,
197 "repo_id": repo_id,
198 "cache_repo_id": cache_repo_id,
197 "config": config,
199 "config": config,
198 "repo_state_uid": repo_state_uid,
200 "repo_state_uid": repo_state_uid,
199 "context": self._create_vcs_cache_context(path, repo_state_uid)
201 "context": self._create_vcs_cache_context(path, repo_state_uid)
General Comments 0
You need to be logged in to leave comments. Login now