jj/lib/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
..
test_bad_locking.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_commit_builder.rs object_id: make ObjectId constructors non-trait methods 2024-01-05 23:36:57 +09:00
test_commit_concurrent.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00
test_conflicts.rs repo_path: split RepoPath into owned and borrowed types 2023-11-28 07:33:28 +09:00
test_default_revset_graph_iterator.rs default_index: adopt revset engine and graph iterator modules 2024-01-07 05:37:47 -08:00
test_diff_summary.rs repo_path: split RepoPath into owned and borrowed types 2023-11-28 07:33:28 +09:00
test_git.rs git_backend: teach "format.tree-level-conflicts" config by constructor 2024-01-10 08:57:51 +09:00
test_id_prefix.rs object_id: move HexPrefix and PrefixResolution from index module 2024-01-05 10:20:57 +09:00
test_index.rs index: fix reindexing to scan all referenced commits such as hidden remote refs 2024-01-12 12:53:16 +09:00
test_init.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_load_repo.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_local_working_copy.rs object_id: make ObjectId constructors non-trait methods 2024-01-05 23:36:57 +09:00
test_local_working_copy_concurrent.rs repo_path: split RepoPath into owned and borrowed types 2023-11-28 07:33:28 +09:00
test_local_working_copy_sparse.rs working_copy: use proto file states without rebuilding BTreeMap 2023-11-30 12:09:31 +09:00
test_merge_trees.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_merged_tree.rs merged_tree: remove canceling terms prior to resolving file-level conflict 2023-12-03 07:44:58 +09:00
test_mut_repo.rs view: drop tracking of public heads 2024-01-13 22:23:57 -08:00
test_operations.rs op_store: add a virtual root operation, similar to root commit 2024-01-14 10:15:14 -08:00
test_refs.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_revset.rs revset: remove unused lifetime parameter from Revset<'index> 2024-01-09 10:37:43 +09:00
test_rewrite.rs Ensure you never drop the working commit with --skip-empty 2024-01-04 13:33:24 +11:00
test_signing.rs transaction: take description at end instead of start 2023-12-13 08:12:49 -08:00
test_view.rs view: drop tracking of public heads 2024-01-13 22:23:57 -08:00
test_workspace.rs workspace: make working-copy type customizable 2023-10-16 22:33:44 -07:00