mercurial/smartset.py
changeset 51108 5ae05937b98f
parent 50926 18c8c18993f0
child 51859 f4733654f144
equal deleted inserted replaced
51107:042d32355a4a 51108:5ae05937b98f
  1130             # filter out hidden revision
  1130             # filter out hidden revision
  1131             # (this boldly assumes all smartset are pure)
  1131             # (this boldly assumes all smartset are pure)
  1132             #
  1132             #
  1133             # `other` was used with "&", let's assume this is a set like
  1133             # `other` was used with "&", let's assume this is a set like
  1134             # object.
  1134             # object.
  1135             other = baseset(other - self._hiddenrevs)
  1135             other = baseset(other)
       
  1136 
       
  1137         if self._hiddenrevs:
       
  1138             other = other - self._hiddenrevs
  1136 
  1139 
  1137         other.sort(reverse=self.isdescending())
  1140         other.sort(reverse=self.isdescending())
  1138         return other
  1141         return other