ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 537b1de7d9 working_copy: move check of old commit ID on checkout to higher level
There are only two callers of `LockedWorkingCopy::check_out()`. One is
in `commands.rs`. That caller already checks after taking the lock
that the old commit ID is as expected. The other caller is
`WorkingCopy::check_out()`. We can simply move the check to that level
since it's the only caller that cares now.
2022-02-12 14:27:40 -08:00
..
test_bad_locking.rs
test_commit_builder.rs tests: don't create workspaces in CommitBuilder tests 2022-02-05 15:39:03 -08:00
test_commit_concurrent.rs
test_conflicts.rs
test_diff_summary.rs
test_git.rs
test_index.rs
test_init.rs view: inline checkout() into remaining few callers 2022-02-05 15:43:37 -08:00
test_load_repo.rs
test_merge_trees.rs
test_mut_repo.rs
test_operations.rs
test_refs.rs
test_revset.rs tests: remove a leftover removal of a checkout in a revset test 2022-02-05 20:11:50 -08:00
test_revset_graph_iterator.rs
test_rewrite.rs
test_view.rs tests: attempt to de-flake operation-merging test 2022-02-09 11:15:10 -08:00
test_working_copy.rs working_copy: move check of old commit ID on checkout to higher level 2022-02-12 14:27:40 -08:00
test_working_copy_concurrent.rs
test_workspace.rs