mercurial/revset.py
changeset 22883 e7b8cf352614
parent 22882 ecd27fee5c2b
child 22884 4584eec9aead
equal deleted inserted replaced
22882:ecd27fee5c2b 22883:e7b8cf352614
  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.