equal
deleted
inserted
replaced
2782 else: |
2782 else: |
2783 for r in iterrange: |
2783 for r in iterrange: |
2784 yield r |
2784 yield r |
2785 |
2785 |
2786 def __contains__(self, rev): |
2786 def __contains__(self, rev): |
2787 return self._contained(rev) and not (self._hiddenrevs and rev in |
2787 return (((self._end < rev <= self._start) |
2788 self._hiddenrevs) |
2788 or (self._start <= rev < self._end)) |
|
2789 and not (self._hiddenrevs and rev in self._hiddenrevs)) |
2789 |
2790 |
2790 def __nonzero__(self): |
2791 def __nonzero__(self): |
2791 for r in self: |
2792 for r in self: |
2792 return True |
2793 return True |
2793 return False |
2794 return False |