ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/tests
Benjamin Tan 714bc0a9e6 rebase: add move_commits function to perform rebasing
The `move_commits` function accepts a set of target commits to shift to
a new location given by `new_parents` and `new_children`. The roots of
the target set will be reparented onto `new_parents`. `new_children`
will then be reparented onto the heads of the target set.

The commits will be rebased in reverse topological order based on the
new set of parents of each commit, which avoids the need for multiple
sets of rebase operations.
2024-04-29 14:19:09 +08:00
..
common rebase: rewrite rebase_revision to use transform_descendants 2024-04-22 21:05:49 +08:00
cli-reference@.md.snap rebase: allow -r to accept multiple revisions 2024-04-26 23:51:52 +08:00
runner.rs Implement advance-branches for jj commit 2024-04-20 10:26:04 -04:00
test_abandon_command.rs
test_advance_branches.rs Implement advance-branches for jj new 2024-04-20 10:26:04 -04:00
test_alias.rs
test_branch_command.rs cli: unblock "branch list --all-remotes" with name patterns 2024-04-03 08:59:29 +09:00
test_builtin_aliases.rs
test_cat_command.rs cli: migrate "cat" to matcher API, warn unmatched paths 2024-04-16 10:12:31 +09:00
test_checkout.rs
test_chmod_command.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_commit_command.rs
test_commit_template.rs templater: include actual type name in error messages 2024-04-26 00:57:26 +09:00
test_concurrent_operations.rs
test_config_command.rs
test_debug_command.rs cli: add fileset utility functions and debug command 2024-04-09 20:42:09 +09:00
test_describe_command.rs
test_diff_command.rs tests: avoid a use of deprecated jj move 2024-04-28 11:12:51 -07:00
test_diffedit_command.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_duplicate_command.rs
test_edit_command.rs
test_generate_md_cli_help.rs
test_git_clone.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_git_colocated.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_git_fetch.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_git_import_export.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_git_init.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_git_push.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_git_remotes.rs
test_git_submodule.rs
test_gitignores.rs
test_global_opts.rs cli: add global --ignore-immutable 2024-04-26 06:13:15 -07:00
test_immutable_commits.rs squash: add test that immutable commits are respected for --from/--into 2024-04-28 13:06:37 -07:00
test_init_command.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_interdiff_command.rs
test_log_command.rs templates: reimplement builtin_change_id_with_hidden_and_divergent_info alias 2024-04-26 16:56:35 +09:00
test_move_command.rs
test_new_command.rs cli: don't check duplicates in revisions prefixed with "all:" 2024-04-02 15:17:12 +09:00
test_next_prev_commands.rs Make jj next work when the working copy is a merge commit 2024-04-08 14:52:11 -04:00
test_obslog_command.rs templates: reimplement builtin_change_id_with_hidden_and_divergent_info alias 2024-04-26 16:56:35 +09:00
test_operations.rs templates: reimplement builtin_change_id_with_hidden_and_divergent_info alias 2024-04-26 16:56:35 +09:00
test_parallelize_command.rs parallelize: make the command pass in more cases 2024-04-18 21:06:52 -07:00
test_rebase_command.rs rebase: add move_commits function to perform rebasing 2024-04-29 14:19:09 +08:00
test_repo_change_report.rs rebase: add move_commits function to perform rebasing 2024-04-29 14:19:09 +08:00
test_resolve_command.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_restore_command.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_revset_output.rs revset: add support for file(kind:pattern) syntax 2024-04-07 19:43:29 +09:00
test_root.rs
test_shell_completion.rs
test_show_command.rs templates: reimplement builtin_change_id_with_hidden_and_divergent_info alias 2024-04-26 16:56:35 +09:00
test_sparse_command.rs
test_split_command.rs Rewrite rebasing in jj split using transform_descendants() 2024-04-21 12:21:39 -04:00
test_squash_command.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_status_command.rs cli: support filtering by paths in status 2024-04-05 20:41:44 +01:00
test_tag_command.rs
test_templater.rs templates: reimplement builtin_change_id_with_hidden_and_divergent_info alias 2024-04-26 16:56:35 +09:00
test_tree_level_conflicts.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00
test_undo.rs cli: rename --all to --all-remotes for branch list 2024-04-01 10:12:13 +09:00
test_unsquash_command.rs
test_untrack_command.rs
test_util_command.rs
test_working_copy.rs cli: add another test for snapshot.max-new-file-size 2024-04-19 13:03:24 -05:00
test_workspaces.rs git_backend: add a README to conflicted commits 2024-04-22 06:22:54 -07:00