Expand description
Utility for parsing and evaluating user-provided revset expressions.
Structs§
- Bookmark
Name Parse Error - Revset
Expression Evaluator - Wrapper around
UserRevsetExpressionto provide convenient methods. - TagName
Parse Error
Enums§
Functions§
- default_
symbol_ resolver - Wraps the given
IdPrefixContextinSymbolResolverto be passed in toevaluate(). - 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_
remote_ auto_ track_ bookmarks_ map - Parses the given
remotes.<name>.auto-track-bookmarkssettings into a map of string matchers. - parse_
remote_ auto_ track_ bookmarks_ map_ for_ new_ bookmarks - Parses the given
remotes.<name>.auto-track-bookmarksandremotes.<name>.auto-track-created-bookmarkssettings into a map of string matchers. If both settings exist for the same remote, the union of the settings will be matched. - parse_
tag_ name - Parses tag name specified in revset syntax.
- parse_
union_ name_ patterns - Parses bookmark/tag/remote name patterns and unions them all.