ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 8d090628c3 transaction: rename mut_repo() to idiomatic repo_mut()
We had both `repo()` and `mut_repo()` on `Transaction` and I think it
was easy to get confused and think that the former returned a
`&ReadonlyRepo` but both of them actually return a reference to
`MutableRepo` (the latter obviously returns a mutable reference). I
hope that renaming to the more idiomatic `repo_mut()` will help
clarify.

We could instead have renamed them to `mut_repo()` and
`mut_repo_mut()` but that seemed unnecessarily long. It would better
match the `mut_repo` variables we typically use, though.
2024-09-07 10:51:43 -07:00
..
runner.rs merged_tree: remove .diff_summary() 2024-08-06 10:15:44 +09:00
test_bad_locking.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_commit_builder.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_commit_concurrent.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_conflicts.rs conflicts: don't panic when a conflict marker is missing removes 2024-09-05 22:09:55 -07:00
test_default_revset_graph_iterator.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_git.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_git_backend.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_gpg.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_id_prefix.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_index.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_init.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_load_repo.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_local_working_copy.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_local_working_copy_concurrent.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_local_working_copy_sparse.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_merge_trees.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_merged_tree.rs copies: determine copy/rename operation by CopiesTreeDiffStream 2024-08-23 10:29:12 +09:00
test_mut_repo.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_operations.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_refs.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_revset.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_rewrite.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_rewrite_transform.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_signing.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_ssh_signing.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_view.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_workspace.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00