Skip to main content

Module jj

Module jj 

Source

Functions§

is_jj_repo
Check if the given repo root is a Jujutsu repository.
maybe_resolve_ref
Try to resolve a ref string via jj if we’re in a jj repo. Falls back to the original string if not a jj repo or resolution fails.
resolve_jj_revset
Resolve a jj revset to a git commit SHA using jj log. Returns None if jj is not installed, the revset is invalid, or resolution fails.