Show More
@@ -140,7 +140,6 b' class GitRemote(RemoteBase):' | |||
|
140 | 140 | "parents": self.parents, |
|
141 | 141 | "_commit": self.revision, |
|
142 | 142 | } |
|
143 | self.region = self._factory._cache_region | |
|
144 | 143 | |
|
145 | 144 | def _wire_to_config(self, wire): |
|
146 | 145 | if 'config' in wire: |
@@ -169,7 +169,6 b' class HgRemote(RemoteBase):' | |||
|
169 | 169 | "hidden": self.ctx_hidden, |
|
170 | 170 | "_file_paths": self.ctx_list, |
|
171 | 171 | } |
|
172 | self.region = self._factory._cache_region | |
|
173 | 172 | |
|
174 | 173 | def _get_ctx(self, repo, ref): |
|
175 | 174 | return get_ctx(repo, ref) |
@@ -652,6 +651,7 b' class HgRemote(RemoteBase):' | |||
|
652 | 651 | @reraise_safe_exceptions |
|
653 | 652 | def rev_range(self, wire, commit_filter): |
|
654 | 653 | cache_on, context_uid, repo_id = self._cache_on(wire) |
|
654 | ||
|
655 | 655 | @self.region.conditional_cache_on_arguments(condition=cache_on) |
|
656 | 656 | def _rev_range(_context_uid, _repo_id, _filter): |
|
657 | 657 | repo = self._factory.repo(wire) |
@@ -115,7 +115,6 b' class SvnRemote(RemoteBase):' | |||
|
115 | 115 | # TODO: Remove once we do not use internal Mercurial objects anymore |
|
116 | 116 | # for subversion |
|
117 | 117 | self._hg_factory = hg_factory |
|
118 | self.region = self._factory._cache_region | |
|
119 | 118 | |
|
120 | 119 | @reraise_safe_exceptions |
|
121 | 120 | def discover_svn_version(self): |
General Comments 0
You need to be logged in to leave comments.
Login now