Expand description
Parser and evaluator for a “revset”-like language, as in Mercurial and Jujutsu.
Enums§
- Expr
- A node in the parsed AST.
Functions§
- check_
revset_ syntax - Check for syntax errors in the provided revsets without actually evaluating them.
- eval
- Evaluate the provided revset expression.
- parse
- Parse a string representing a revset expression into an Expr.
- resolve_
commits - Parse strings which refer to commits, such as:
- resolve_
default_ smartlog_ commits - Resolve the set of commits that would appear in the smartlog by default (if the user doesn’t specify a revset).