Show More
@@ -1400,7 +1400,7 b' class revlog(object):' | |||||
1400 | # fast path: for unfiltered changelog, radix tree is accurate |
|
1400 | # fast path: for unfiltered changelog, radix tree is accurate | |
1401 | if not getattr(self, 'filteredrevs', None): |
|
1401 | if not getattr(self, 'filteredrevs', None): | |
1402 | raise error.AmbiguousPrefixLookupError( |
|
1402 | raise error.AmbiguousPrefixLookupError( | |
1403 |
id, self. |
|
1403 | id, self.display_id, _(b'ambiguous identifier') | |
1404 | ) |
|
1404 | ) | |
1405 | # fall through to slow path that filters hidden revisions |
|
1405 | # fall through to slow path that filters hidden revisions | |
1406 | except (AttributeError, ValueError): |
|
1406 | except (AttributeError, ValueError): | |
@@ -1426,7 +1426,7 b' class revlog(object):' | |||||
1426 | self._pcache[id] = nl[0] |
|
1426 | self._pcache[id] = nl[0] | |
1427 | return nl[0] |
|
1427 | return nl[0] | |
1428 | raise error.AmbiguousPrefixLookupError( |
|
1428 | raise error.AmbiguousPrefixLookupError( | |
1429 |
id, self. |
|
1429 | id, self.display_id, _(b'ambiguous identifier') | |
1430 | ) |
|
1430 | ) | |
1431 | if maybewdir: |
|
1431 | if maybewdir: | |
1432 | raise error.WdirUnsupported |
|
1432 | raise error.WdirUnsupported |
General Comments 0
You need to be logged in to leave comments.
Login now