mercurial/filesetlang.py
changeset 38827 48fc2a8af345
parent 38826 6371ab78c3b3
child 38828 3ea6ce609747
equal deleted inserted replaced
38826:6371ab78c3b3 38827:48fc2a8af345
   140         return x
   140         return x
   141     if op == 'kindpat':
   141     if op == 'kindpat':
   142         getsymbol(x[1])  # kind must be a symbol
   142         getsymbol(x[1])  # kind must be a symbol
   143         t = _analyze(x[2])
   143         t = _analyze(x[2])
   144         return (op, x[1], t)
   144         return (op, x[1], t)
   145     if op in {'group', 'not', 'negate'}:
   145     if op == 'group':
       
   146         return _analyze(x[1])
       
   147     if op in {'not', 'negate'}:
   146         t = _analyze(x[1])
   148         t = _analyze(x[1])
   147         return (op, t)
   149         return (op, t)
   148     if op in {'and', 'minus'}:
   150     if op in {'and', 'minus'}:
   149         ta = _analyze(x[1])
   151         ta = _analyze(x[1])
   150         tb = _analyze(x[2])
   152         tb = _analyze(x[2])