Mercurial > evolve
diff hgext/obsolete.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 | 777e5c369d99 |
children | e47dda53a5c2 |