ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 49b2f3b6ca commit_builder: keep MutableRepo reference
When you're done with the `CommitBuilder`, you're going to have to
call `write_to_repo()`, passing it a mutable `MutableRepo`
reference. It's a bit simpler to pass that reference when we create
the `CommitBuilder` instead, so that's what this patch does.

A drawback of passing in the mutable reference when we create the
builder is that we can't have multiple unfinished `CommitBuilder`
instance live at the same time. We don't have any such use cases yet,
and it's not hard to work around them, so I think this change is worth
it.
2022-12-26 23:30:52 -08:00
..
test_bad_locking.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_commit_builder.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_commit_concurrent.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_conflicts.rs Rename FileConflictData to ConflictHunk, use it in files.rs. 2022-12-03 15:12:40 -08:00
test_diff_summary.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_git.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_index.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_init.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_load_repo.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_merge_trees.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_mut_repo.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_operations.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_refs.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_revset.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_revset_graph_iterator.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_rewrite.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_view.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_working_copy.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_working_copy_concurrent.rs cleanup: let new Clippy move variables into format strings 2022-12-14 21:30:58 -08:00
test_working_copy_sparse.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_workspace.rs repo: rename BackendFactories to StoreFactories 2022-12-14 14:10:30 -08:00