jj/cli/src
Evan Mesterhazy d4a04779c0 Make check_rewritable take an iterator of &CommitId instead of &Commit
This function doesn't actually need commits, it only needs their IDs. In some
contexts we may only have commit IDs, so there's no need to require an iterator
of Commits.

This commit also adds a `CommitIteratorExt` that makes it easy to convert an
iterator of `&Commit` to an iterator of `&CommitId`.
2024-04-04 09:31:17 -04:00
..
commands Make check_rewritable take an iterator of &CommitId instead of &Commit 2024-04-04 09:31:17 -04:00
config templater: add coalesce() function that selects first non-empty content 2024-03-28 10:51:47 +09:00
merge_tools ui: make hint_*() methods return Option 2024-04-01 13:00:27 -07:00
cleanup_guard.rs
cli_util.rs Make check_rewritable take an iterator of &CommitId instead of &Commit 2024-04-04 09:31:17 -04:00
command_error.rs errors: don't use the ui.hint*() helpers 2024-04-01 13:00:27 -07:00
commit_templater.rs templater: consolidate "unexpected expression" error constructors 2024-03-30 23:53:17 +09:00
config-schema.json Make node symbols templatable in the graphs. 2024-03-21 17:41:31 +01:00
config.rs
description_util.rs description_utils: teach combine_messages() to handle more than two sources 2024-03-13 05:21:05 -07:00
diff_util.rs formatter: use write!() or writeln!() thoroughly, remove .write_str() 2024-03-23 10:43:38 +09:00
formatter.rs cli: add support for formatted error hints 2024-03-27 09:06:06 +09:00
generic_templater.rs templater: remove unused context parameter from Template<C> 2024-03-25 11:15:09 +09:00
git_util.rs ui: make hint_*() methods return Option 2024-04-01 13:00:27 -07:00
graphlog.rs graphlog: refactor out node symbols from GraphLog 2024-03-12 08:25:58 +05:00
lib.rs cli: extract primitives for user revset parsing and evaluation 2024-03-14 22:59:43 +09:00
main.rs
operation_templater.rs templater: introduce Formatter wrapper to switch strict/lax evaluations 2024-03-29 19:15:02 +09:00
progress.rs
revset_util.rs cli: extract evaluation part of resolve_single_rev_with_hint_about_all_prefix() 2024-04-02 15:17:12 +09:00
template.pest templater: parse negative integer as unary operator and literal 2024-02-10 09:15:21 +09:00
template_builder.rs templater: consolidate "unexpected expression" error constructors 2024-03-30 23:53:17 +09:00
template_parser.rs templater: merge ParseIntError into generic Expression error 2024-03-30 23:53:17 +09:00
templater.rs templater: don't panic on PropertyPlaceholder unset error 2024-03-29 19:15:02 +09:00
text_util.rs formatter: use write!() or writeln!() thoroughly, remove .write_str() 2024-03-23 10:43:38 +09:00
time_util.rs templater: propagate <out-of-range date> as an error 2024-02-29 01:30:43 +09:00
ui.rs cli: add a global --quiet flag, which silences status messages 2024-04-01 13:00:27 -07:00