Show More
@@ -497,8 +497,10 b' class changectx(basectx):' | |||||
497 | changeid = hex(changeid) |
|
497 | changeid = hex(changeid) | |
498 | except TypeError: |
|
498 | except TypeError: | |
499 | pass |
|
499 | pass | |
500 |
except (error.FilteredIndexError, error.FilteredLookupError |
|
500 | except (error.FilteredIndexError, error.FilteredLookupError): | |
501 |
|
|
501 | raise error.FilteredRepoLookupError(_("filtered revision '%s'") | |
|
502 | % changeid) | |||
|
503 | except error.FilteredRepoLookupError: | |||
502 | raise |
|
504 | raise | |
503 | except IndexError: |
|
505 | except IndexError: | |
504 | pass |
|
506 | pass |
@@ -850,8 +850,7 b' class localrepository(object):' | |||||
850 | try: |
|
850 | try: | |
851 | self[changeid] |
|
851 | self[changeid] | |
852 | return True |
|
852 | return True | |
853 |
except |
|
853 | except error.RepoLookupError: | |
854 | error.FilteredLookupError): |
|
|||
855 | return False |
|
854 | return False | |
856 |
|
855 | |||
857 | def __nonzero__(self): |
|
856 | def __nonzero__(self): |
General Comments 0
You need to be logged in to leave comments.
Login now