Show More
@@ -2793,9 +2793,11 b' class _spanset(_orderedsetmixin):' | |||||
2793 | yield r |
|
2793 | yield r | |
2794 |
|
2794 | |||
2795 | def __contains__(self, rev): |
|
2795 | def __contains__(self, rev): | |
2796 |
r |
|
2796 | start = self._start | |
2797 | or (self._start <= rev < self._end)) |
|
2797 | end = self._end | |
2798 |
|
|
2798 | hidden = self._hiddenrevs | |
|
2799 | return (((end < rev <= start) or (start <= rev and rev < end)) | |||
|
2800 | and not (hidden and rev in hidden)) | |||
2799 |
|
2801 | |||
2800 | def __nonzero__(self): |
|
2802 | def __nonzero__(self): | |
2801 | for r in self: |
|
2803 | for r in self: |
General Comments 0
You need to be logged in to leave comments.
Login now