ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/src
Martin von Zweigbergk a1ef9dc845 merged_tree: propagate backend errors in diff iterator
I want to fix error propagation before I start using async in this
code. This makes the diff iterator propagate errors from reading tree
objects.

Errors include the path and don't stop the iteration. The idea is that
we should be able to show the user an error inline in diff output if
we failed to read a tree. That's going to be especially useful for
backends that can return `BackendError::AccessDenied`. That error
variant doesn't yet exist, but I plan to add it, and use it in
Google's internal backend.
2023-10-26 06:20:56 -07:00
..
commands merged_tree: propagate backend errors in diff iterator 2023-10-26 06:20:56 -07:00
config merge_tools.toml: add VS Code as a default merge tool. 2023-10-25 12:47:51 -07:00
merge_tools merged_tree: propagate backend errors in diff iterator 2023-10-26 06:20:56 -07:00
cleanup_guard.rs
cli_util.rs merged_tree: propagate backend errors in diff iterator 2023-10-26 06:20:56 -07:00
commit_templater.rs templater: take non-tracking remote branches as unrelated to local branch 2023-10-17 16:42:36 +09:00
config-schema.json cli: redefine default log revset using immutable_heads() 2023-10-01 11:15:30 -07:00
config.rs revsets: add trunk alias with default to main/master/root 2023-09-17 10:17:23 +10:00
diff_util.rs merged_tree: propagate backend errors in diff iterator 2023-10-26 06:20:56 -07:00
formatter.rs
graphlog.rs
lib.rs
main.rs
operation_templater.rs
progress.rs
template.pest Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
template_builder.rs
template_parser.rs Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
templater.rs
text_util.rs
time_util.rs
ui.rs ui: remove write*() and flush() methods 2023-10-11 19:24:01 +09:00