Show More
@@ -3318,6 +3318,11 b' class fullreposet(spanset):' | |||||
3318 | def __init__(self, repo): |
|
3318 | def __init__(self, repo): | |
3319 | super(fullreposet, self).__init__(repo) |
|
3319 | super(fullreposet, self).__init__(repo) | |
3320 |
|
3320 | |||
|
3321 | def __contains__(self, rev): | |||
|
3322 | hidden = self._hiddenrevs | |||
|
3323 | return ((self._start <= rev < self._end) | |||
|
3324 | and not (hidden and rev in hidden)) | |||
|
3325 | ||||
3321 | def __and__(self, other): |
|
3326 | def __and__(self, other): | |
3322 | """As self contains the whole repo, all of the other set should also be |
|
3327 | """As self contains the whole repo, all of the other set should also be | |
3323 | in self. Therefore `self & other = other`. |
|
3328 | in self. Therefore `self & other = other`. |
General Comments 0
You need to be logged in to leave comments.
Login now