mercurial/smartset.py
changeset 50631 1d937e495cd0
parent 50630 921a72735482
child 50935 f6cb926d4189
equal deleted inserted replaced
50630:921a72735482 50631:1d937e495cd0
  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.