Show More
@@ -941,8 +941,11 b' class revlog(object):' | |||||
941 | return None |
|
941 | return None | |
942 | except RevlogError: |
|
942 | except RevlogError: | |
943 | # parsers.c radix tree lookup gave multiple matches |
|
943 | # parsers.c radix tree lookup gave multiple matches | |
|
944 | # fast path: for unfiltered changelog, radix tree is accurate | |||
|
945 | if not getattr(self, 'filteredrevs', None): | |||
|
946 | raise LookupError(id, self.indexfile, | |||
|
947 | _('ambiguous identifier')) | |||
944 | # fall through to slow path that filters hidden revisions |
|
948 | # fall through to slow path that filters hidden revisions | |
945 | pass |
|
|||
946 | except (AttributeError, ValueError): |
|
949 | except (AttributeError, ValueError): | |
947 | # we are pure python, or key was too short to search radix tree |
|
950 | # we are pure python, or key was too short to search radix tree | |
948 | pass |
|
951 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now