equal
deleted
inserted
replaced
1125 in self. Therefore `self & other = other`. |
1125 in self. Therefore `self & other = other`. |
1126 |
1126 |
1127 This boldly assumes the other contains valid revs only. |
1127 This boldly assumes the other contains valid revs only. |
1128 """ |
1128 """ |
1129 # other not a smartset, make is so |
1129 # other not a smartset, make is so |
1130 if not util.safehasattr(other, b'isascending'): |
1130 if not util.safehasattr(other, 'isascending'): |
1131 # filter out hidden revision |
1131 # filter out hidden revision |
1132 # (this boldly assumes all smartset are pure) |
1132 # (this boldly assumes all smartset are pure) |
1133 # |
1133 # |
1134 # `other` was used with "&", let's assume this is a set like |
1134 # `other` was used with "&", let's assume this is a set like |
1135 # object. |
1135 # object. |