Mercurial > evolve
diff setup.py @ 1508:8dfb88ca0c08
directaccess: inspect trees of len() > 3
Previously, when inspecting revset AST's we'd only traverse down the tree if it
was length 3 ([op, left, right]). In some situations, like 'or' the tree node
will be greater than length 3 ([op, first, second, ..., nth]). So we need to
traverse all the parts of the node to catch all the symbols.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 29 Sep 2015 09:47:10 -0700 |
parents | 1bcbd14cf159 |
children | 160968654581 |