jj/cli/tests
Martin von Zweigbergk 6e302bb3a2 op_store: add a virtual root operation, similar to root commit
It seems obvious in hindsight to have a virtual root operation just
like we have a virtual root commit. It removes the same kind of
problems by making sure there's always a common ancestor (or multiple)
between any two commits.

I think the reason I didn't add a root operation from the beginning
was that there used to be a mandatory working-copy commit in the view
(this was before support for multiple workspaces).

Perhaps we should remove the "initialize repo" operation now. The only
difference between their view objects is that the "initialize repo"
operation adds the root commit as a head. We could add that to the
root operation, but then the root operation's value depends on the
commit backend.
2024-01-14 10:15:14 -08:00
..
common
test_abandon_command.rs
test_alias.rs cli: don't panic on empty alias substitution 2023-12-24 23:31:28 +09:00
test_branch_command.rs Issue warning if renaming branch with a remote tracking branch. 2024-01-07 18:04:38 +00:00
test_builtin_aliases.rs tests: set git_settings.auto_local_branch where it matters 2023-12-17 08:30:24 +09:00
test_cat_command.rs
test_checkout.rs
test_chmod_command.rs
test_commit_command.rs
test_commit_template.rs cli: include branches and tags in default "show" template 2024-01-11 15:47:09 +09:00
test_concurrent_operations.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00
test_config_command.rs
test_debug_command.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00
test_describe_command.rs
test_diff_command.rs
test_diffedit_command.rs
test_duplicate_command.rs
test_edit_command.rs
test_git_clone.rs tests: set git_settings.auto_local_branch where it matters 2023-12-17 08:30:24 +09:00
test_git_colocated.rs tests: set git_settings.auto_local_branch where it matters 2023-12-17 08:30:24 +09:00
test_git_fetch.rs git: turn git.auto-local-branch off by default 2023-12-17 08:30:24 +09:00
test_git_import_export.rs object_id: make ObjectId constructors non-trait methods 2024-01-05 23:36:57 +09:00
test_git_push.rs tests: set git_settings.auto_local_branch where it matters 2023-12-17 08:30:24 +09:00
test_git_remotes.rs
test_git_submodule.rs
test_gitignores.rs
test_global_opts.rs cli: error out early if -R path is invalid 2023-12-24 00:20:38 +09:00
test_immutable_commits.rs
test_init_command.rs tests: set git_settings.auto_local_branch where it matters 2023-12-17 08:30:24 +09:00
test_interdiff_command.rs
test_log_command.rs
test_move_command.rs
test_new_command.rs
test_next_prev_commands.rs
test_obslog_command.rs
test_operations.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00
test_rebase_command.rs
test_repo_change_report.rs
test_resolve_command.rs
test_restore_command.rs
test_revset_output.rs
test_show_command.rs
test_sparse_command.rs
test_split_command.rs test_split_command: check that new commits inherit author dates 2023-12-24 19:25:16 -08:00
test_squash_command.rs
test_status_command.rs
test_templater.rs
test_tree_level_conflicts.rs
test_undo.rs
test_unsquash_command.rs
test_untrack_command.rs
test_util_command.rs cli: disallow gc run from non-head operation 2024-01-09 10:37:03 +09:00
test_working_copy.rs
test_workspaces.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00