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 No need for Lazy in LIVE_GUARDS 2023-08-22 02:12:05 -04:00
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 cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
graphlog.rs cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
lib.rs cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
main.rs cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
operation_templater.rs templater: make .short(negative_len) return 0-length string 2023-08-25 22:59:20 +09:00
progress.rs cli: elide path in snapshot progress in the same way 2023-09-02 08:21:33 +09:00
template.pest Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
template_builder.rs templater: add boolean literals 2023-09-03 07:01:40 +09:00
template_parser.rs Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
templater.rs templater: move empty signature placeholder to user template 2023-08-27 09:38:36 +09:00
text_util.rs cli: add helper to elide text from left 2023-09-02 08:21:33 +09:00
time_util.rs cli: move src/ directory to new cli/ directory 2023-08-04 19:00:42 -05:00
ui.rs ui: remove write*() and flush() methods 2023-10-11 19:24:01 +09:00