equal
deleted
inserted
replaced
463 if i not in self.changelog.filteredrevs] |
463 if i not in self.changelog.filteredrevs] |
464 return context.changectx(self, changeid) |
464 return context.changectx(self, changeid) |
465 |
465 |
466 def __contains__(self, changeid): |
466 def __contains__(self, changeid): |
467 try: |
467 try: |
468 return bool(self.lookup(changeid)) |
468 self[changeid] |
|
469 return True |
469 except error.RepoLookupError: |
470 except error.RepoLookupError: |
470 return False |
471 return False |
471 |
472 |
472 def __nonzero__(self): |
473 def __nonzero__(self): |
473 return True |
474 return True |