equal
deleted
inserted
replaced
2978 self. Therefor `self & other = other`. |
2978 self. Therefor `self & other = other`. |
2979 |
2979 |
2980 This boldly assumes the other contains valid revs only. |
2980 This boldly assumes the other contains valid revs only. |
2981 """ |
2981 """ |
2982 # other not a smartset, make is so |
2982 # other not a smartset, make is so |
2983 if not util.safehasattr(other, 'set'): |
2983 if not util.safehasattr(other, 'isascending'): |
2984 # filter out hidden revision |
2984 # filter out hidden revision |
2985 # (this boldly assumes all smartset are pure) |
2985 # (this boldly assumes all smartset are pure) |
2986 # |
2986 # |
2987 # `other` was used with "&", let's assume this is a set like |
2987 # `other` was used with "&", let's assume this is a set like |
2988 # object. |
2988 # object. |