jj/cli/tests
Essien Ita Essien bb018a54c3 next/prev: Add config flag to control prev/next edit behaviour.
* We started with a tristate flag where:
    - Auto - Maintain current behaviour. This edits if
      the wc parent is not a head commit. Else, it will
      create a new commit on the parent of the wc in
      the direction of movement.
    - Always - Always edit
    - Never - Never edit, prefer the new+squash workflow.
  However, consensus the review thread is that `auto` mode where we try to infer when to
  switch to `edit mode`, should be removed. So `ui.movement.edit` is a boolean flag now.
    - true: edit mode
    - false: new+squash mode
* Also add a `--no-edit` flag as the explicit inverse of `--edit` and
  ensure both flags take precedence over the config.
* Update tests that assumed edit mode inference, to specify `--edit` explicitly.

NOTE: #4302 was squashed into this commit, so see that closed PR for review history.

Part of #3947
2024-08-20 15:46:00 +01:00
..
common
cli-reference@.md.snap next/prev: Add config flag to control prev/next edit behaviour. 2024-08-20 15:46:00 +01:00
runner.rs
test_abandon_command.rs
test_acls.rs copy-tracking: add support for diff --git 2024-08-15 11:03:39 -04:00
test_advance_branches.rs
test_alias.rs
test_backout_command.rs
test_branch_command.rs
test_builtin_aliases.rs Define builtin_immutable_heads() as a default revset alias. 2024-08-14 11:32:16 +01:00
test_checkout.rs
test_commit_command.rs
test_commit_template.rs
test_concurrent_operations.rs cli: merge op heads and snapshot working copy by "op log" by default 2024-08-03 09:22:26 +09:00
test_config_command.rs Warn user about the working copy when configuring the author 2024-08-19 17:09:30 +02:00
test_copy_detection.rs
test_debug_command.rs
test_describe_command.rs describe: warn user of limitations when describing multiple commits 2024-08-06 11:28:21 -07:00
test_diff_command.rs diff: simplify conditions whether to emit color-words context lines 2024-08-18 12:40:07 +09:00
test_diffedit_command.rs copy-tracking: add support for diff --git 2024-08-15 11:03:39 -04:00
test_duplicate_command.rs
test_edit_command.rs
test_file_chmod_command.rs
test_file_print_command.rs
test_fix_command.rs
test_generate_md_cli_help.rs
test_git_clone.rs
test_git_colocated.rs
test_git_fetch.rs
test_git_import_export.rs
test_git_init.rs copy-tracking: add support for diff --git 2024-08-15 11:03:39 -04:00
test_git_private_commits.rs
test_git_push.rs cargo: bump git2 to 0.19.0 2024-08-13 11:47:21 +08:00
test_git_remotes.rs
test_git_submodule.rs
test_gitignores.rs git: resolve relative core.excludesFile path at workspace root 2024-08-08 23:05:46 +09:00
test_global_opts.rs
test_immutable_commits.rs
test_init_command.rs
test_interdiff_command.rs
test_log_command.rs
test_move_command.rs
test_new_command.rs
test_next_prev_commands.rs next/prev: Add config flag to control prev/next edit behaviour. 2024-08-20 15:46:00 +01:00
test_obslog_command.rs cli: obslog: show diffs from all predecessors, not first predecessor 2024-08-07 10:51:23 +09:00
test_operations.rs cli: make "op abandon" not fail with multiple op heads 2024-08-07 10:51:44 +09:00
test_parallelize_command.rs
test_rebase_command.rs rewrite: move_commits: do not remove parents of target commits which are outside the target set 2024-08-17 23:27:47 +08:00
test_repo_change_report.rs
test_resolve_command.rs
test_restore_command.rs
test_revset_output.rs
test_root.rs
test_shell_completion.rs
test_show_command.rs copy-tracking: add support for diff --git 2024-08-15 11:03:39 -04:00
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs
test_status_command.rs
test_tag_command.rs
test_templater.rs
test_undo.rs
test_unsquash_command.rs
test_untrack_command.rs
test_util_command.rs
test_working_copy.rs
test_workspaces.rs