Module cli_util

Source

Structs§

AdvanceableBookmark
A advanceable bookmark to satisfy the “advance-bookmarks” feature.
Args
Jujutsu (An experimental VCS)
CliRunner
CLI command builder and runner.
CommandHelper
EarlyArgs
GlobalArgs
LogContentFormat
Helper to reformat content of log-like commands.
RemoteBookmarkNamePattern
RevisionArg
Wrapper around revset expression argument.
TracingSubscription
Handle to initialize or change tracing subscription.
WorkspaceCommandEnvironment
Metadata and configuration loaded for a specific workspace.
WorkspaceCommandHelper
Provides utilities for writing a command that works on a Workspace (which most commands do).
WorkspaceCommandTransaction
An ongoing Transaction tied to a particular workspace.

Enums§

DiffSelector
Wrapper around a DiffEditor to conditionally start interactive session.

Functions§

compute_commit_location
Computes the location (new parents and new children) to place commits.
expand_args
find_workspace_dir
format_template
has_tracked_remote_bookmarks
Whether or not the bookmark has any tracked remotes (i.e. is a tracking local bookmark.)
load_template_aliases
merge_args_with
Merges multiple clap args in order of appearance.
print_checkout_stats
print_conflicted_paths
print_snapshot_stats
print_unmatched_explicit_paths
Prints warning about explicit paths that don’t match any of the tree entries.
print_untracked_files
Print a warning to the user, listing untracked files that he may care about
print_updated_commits
Prints a list of commits by the given summary template. The list may be elided. Use this to show created, rewritten, or abandoned commits.
short_change_hash
short_commit_hash
short_operation_hash
start_repo_transaction
update_working_copy

Type Aliases§

CliDispatchFn