ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk c8184845d7 workspace: replace working_copy_mut() by wrapper type
I'm about to make `LockedLocalWorkingCopy` not borrow from
`LocalWorkingCopy`. That will make it easier to forget to update any
`LocalWorkingCopy` variables when the modifications have been
committed. This patch introduces a wrapper around
`LockedLocalWorkingCopy` to help prevent that.

Thanks to Yuya for the suggestion.
2023-10-15 15:59:49 -07:00
..
test_bad_locking.rs testutils: delete bool-typed init() in favor of enum-typed version 2023-09-18 07:15:37 -07:00
test_commit_builder.rs testutils: delete bool-typed init() in favor of enum-typed version 2023-09-18 07:15:37 -07:00
test_commit_concurrent.rs testutils: delete bool-typed init() in favor of enum-typed version 2023-09-18 07:15:37 -07:00
test_conflicts.rs tests: wherever we test with only one backend, use the test backend 2023-09-19 20:49:41 -07:00
test_default_revset_graph_iterator.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00
test_diff_summary.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00
test_git.rs view: add stub method to set remote branch target and state, migrate callers 2023-10-16 05:12:19 +09:00
test_id_prefix.rs testutils: delete bool-typed init() in favor of enum-typed version 2023-09-18 07:15:37 -07:00
test_index.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00
test_init.rs testutils: delete bool-typed init() in favor of enum-typed version 2023-09-18 07:15:37 -07:00
test_load_repo.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00
test_local_working_copy.rs workspace: replace working_copy_mut() by wrapper type 2023-10-15 15:59:49 -07:00
test_local_working_copy_concurrent.rs workspace: replace working_copy_mut() by wrapper type 2023-10-15 15:59:49 -07:00
test_local_working_copy_sparse.rs workspace: replace working_copy_mut() by wrapper type 2023-10-15 15:59:49 -07:00
test_merge_trees.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00
test_merged_tree.rs tree: simplify conflict before resolving at hunk level 2023-09-27 22:14:39 -07:00
test_mut_repo.rs view: add stub method to set remote branch target and state, migrate callers 2023-10-16 05:12:19 +09:00
test_operations.rs tests: test views, operations, and mutable repos only with test backend 2023-09-20 07:47:30 -07:00
test_refs.rs tests: wherever we test with only one backend, use the test backend 2023-09-19 20:49:41 -07:00
test_revset.rs view: add stub method to set remote branch target and state, migrate callers 2023-10-16 05:12:19 +09:00
test_rewrite.rs view: add stub method to set remote branch target and state, migrate callers 2023-10-16 05:12:19 +09:00
test_view.rs view: add stub method to set remote branch target and state, migrate callers 2023-10-16 05:12:19 +09:00
test_workspace.rs test: use test backend in most remaining tests too 2023-09-24 21:24:01 -07:00