Show More
@@ -609,6 +609,7 b' class HgRemote(RemoteBase):' | |||
|
609 | 609 | @reraise_safe_exceptions |
|
610 | 610 | def lookup(self, wire, revision, both): |
|
611 | 611 | cache_on, context_uid, repo_id = self._cache_on(wire) |
|
612 | ||
|
612 | 613 | @self.region.conditional_cache_on_arguments(condition=cache_on) |
|
613 | 614 | def _lookup(_context_uid, _repo_id, _revision, _both): |
|
614 | 615 |
@@ -67,7 +67,7 b' from mercurial.url import httpbasicauthh' | |||
|
67 | 67 | def get_ctx(repo, ref): |
|
68 | 68 | try: |
|
69 | 69 | ctx = repo[ref] |
|
70 | except ProgrammingError: | |
|
70 | except (ProgrammingError, TypeError): | |
|
71 | 71 | # we're unable to find the rev using a regular lookup, we fallback |
|
72 | 72 | # to slower, but backward compat revsymbol usage |
|
73 | 73 | ctx = revsymbol(repo, ref) |
General Comments 0
You need to be logged in to leave comments.
Login now