ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 26581750fe store: add a empty_merged_tree_id() helper
Many (most?) callers of `Store::empty_tree_id()` really want a
`MergedTreeId`, so let's create a helper for that. It returns the
`Legacy` variant, which is what all current callers used. That should
be all we need since the two variants compare equal these days, and
since trees built based on the legacy variant can get promoted to the
new variant on write if the config is enabled.
2023-08-30 19:58:42 -07:00
..
test_bad_locking.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_commit_builder.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_commit_concurrent.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_conflicts.rs merge: add Merge::num_sides() 2023-08-25 08:54:49 -07:00
test_default_revset_graph_iterator.rs revset_graph: preserve original parents order 2023-07-29 05:36:09 +09:00
test_diff_summary.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_git.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_id_prefix.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_index.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_init.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_load_repo.rs operation: propagate OpStoreError 2023-07-25 12:46:59 -05:00
test_merge_trees.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_merged_tree.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_mut_repo.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_operations.rs op_store: make ViewId and OperationId implement ObjectId 2023-07-26 14:17:21 -07:00
test_refs.rs conflicts: move Merge<T> to merge module 2023-08-06 22:08:09 +00:00
test_revset.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_rewrite.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_view.rs tests: move commit_transactions() helper to testutils 2023-08-10 06:27:16 +09:00
test_working_copy.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_working_copy_concurrent.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_working_copy_sparse.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_workspace.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00