Skip to content

Commit

Permalink
fix jj error crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
faldor20 committed Oct 27, 2024
1 parent 5a181f9 commit 4ecd36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jj_tui/lib/process_wrappers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,11 @@ struct
(* if count<=0 then failwith "no process root" *)
(* ;; *)


(** returns the graph and a list of revs within that graph*)
let graph_and_revs ?revset () =
(*We join_after here to ensure any errors in sub-fibers only propegate to here, otherwise fibers everywhere would get cancelled when an error here occurs*)
Flock.join_after @@ fun _->
let graph =
Flock.fork_as_promise @@ fun () ->
let revset_arg = match revset with Some revset -> [ "-r"; revset ] | None -> [] in
Expand Down

0 comments on commit 4ecd36a

Please sign in to comment.