jj/cli/tests
Martin von Zweigbergk 3fbfd17182 cli: jj duplicate should refuse to duplicate only the root commit
Once we add support for immutable commits, `jj duplicate` should be
allowed to create duplicate of them. The reason it can't duplicate the
root commit is that it would mean there would be multiple root
commits, which would break the invariant that the single root commit
is the only root commit (and the backends refuse to write a commit
without parents). So let's have `jj duplicate` check specifically that
the user doesn't try to duplicate the root commit instead.
2023-09-25 15:41:45 -07:00
..
common
test_abandon_command.rs cli: make jj abandon print commit info as it was before the command 2023-09-05 21:51:32 -07:00
test_alias.rs commands: Implement next and prev 2023-09-05 23:13:39 +02:00
test_branch_command.rs cli: make it allowed to have a branch on the root commit again 2023-09-04 20:08:11 -07:00
test_builtin_aliases.rs revsets: add trunk alias with default to main/master/root 2023-09-17 10:17:23 +10:00
test_cat_command.rs
test_checkout.rs cli: hint for same change ids 2023-09-21 22:53:46 -03:00
test_chmod_command.rs
test_commit_command.rs
test_commit_template.rs
test_concurrent_operations.rs
test_config_command.rs
test_debug_command.rs
test_describe_command.rs
test_diff_command.rs
test_diffedit_command.rs
test_duplicate_command.rs cli: jj duplicate should refuse to duplicate only the root commit 2023-09-25 15:41:45 -07:00
test_edit_command.rs
test_git_clone.rs
test_git_colocated.rs
test_git_fetch.rs
test_git_import_export.rs
test_git_push.rs
test_git_remotes.rs
test_git_submodule.rs
test_gitignores.rs
test_global_opts.rs cli docs: document that --config-toml can be repeated 2023-09-14 18:09:27 -07:00
test_init_command.rs
test_interdiff_command.rs
test_log_command.rs Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
test_move_command.rs
test_new_command.rs
test_next_prev_commands.rs commands: Implement next and prev 2023-09-05 23:13:39 +02:00
test_obslog_command.rs
test_operations.rs Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
test_rebase_command.rs
test_resolve_command.rs merge_tools: create builtin merge editor 2023-09-18 06:33:29 +02:00
test_restore_command.rs
test_revset_output.rs revset: translate symbol rules in error message 2023-09-07 15:29:39 +09:00
test_show_command.rs
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs
test_status_command.rs
test_templater.rs Allow \0 escape for nulls 2023-09-14 17:11:05 -04:00
test_tree_level_conflicts.rs
test_undo.rs
test_unsquash_command.rs
test_untrack_command.rs
test_util_command.rs
test_working_copy.rs
test_workspaces.rs