equal
deleted
inserted
replaced
2819 else: |
2819 else: |
2820 count = 0 |
2820 count = 0 |
2821 start = self._start |
2821 start = self._start |
2822 end = self._end |
2822 end = self._end |
2823 for rev in self._hiddenrevs: |
2823 for rev in self._hiddenrevs: |
2824 if (end < rev <= start) or (start <= rev and rev < end): |
2824 if (end < rev <= start) or (start <= rev < end): |
2825 count += 1 |
2825 count += 1 |
2826 return abs(self._end - self._start) - count |
2826 return abs(self._end - self._start) - count |
2827 |
2827 |
2828 def __getitem__(self, x): |
2828 def __getitem__(self, x): |
2829 # Basic implementation to be changed in future patches. |
2829 # Basic implementation to be changed in future patches. |