Module revset_util

Module revset_util 

Source
Expand description

Utility for parsing and evaluating user-provided revset expressions.

Structs§

BookmarkNameParseError
RevsetExpressionEvaluator
Wrapper around UserRevsetExpression to provide convenient methods.
TagNameParseError

Enums§

UserRevsetEvaluationError

Functions§

default_symbol_resolver
Wraps the given IdPrefixContext in SymbolResolver to be passed in to evaluate().
load_revset_aliases
parse_bookmark_name
Parses bookmark name specified in revset syntax.
parse_immutable_heads_expression
Parses user-configured expression defining the heads of the immutable set. Includes the root commit.
parse_tag_name
Parses tag name specified in revset syntax.