##// END OF EJS Templates
revset: duplicate spanset.__contains__ to fullreposet for modification...
Yuya Nishihara -
r24203:33c7a94d default
parent child Browse files
Show More
@@ -3318,6 +3318,11 b' class fullreposet(spanset):'
3318 3318 def __init__(self, repo):
3319 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 3326 def __and__(self, other):
3322 3327 """As self contains the whole repo, all of the other set should also be
3323 3328 in self. Therefore `self & other = other`.
General Comments 0
You need to be logged in to leave comments. Login now