Skip to main content

is_transient_error

Function is_transient_error 

Source
pub fn is_transient_error(error_msg: &str) -> bool
Expand description

Check whether a jj/git error indicates a transient condition.

Matches:

  • “stale” — “The working copy is stale” (jj, resolves after op completion)
  • “.lock” — Lock file contention (git/jj)