forked from mirrors/jj
537b1de7d9
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. |
||
---|---|---|
.. | ||
test_bad_locking.rs | ||
test_commit_builder.rs | ||
test_commit_concurrent.rs | ||
test_conflicts.rs | ||
test_diff_summary.rs | ||
test_git.rs | ||
test_index.rs | ||
test_init.rs | ||
test_load_repo.rs | ||
test_merge_trees.rs | ||
test_mut_repo.rs | ||
test_operations.rs | ||
test_refs.rs | ||
test_revset.rs | ||
test_revset_graph_iterator.rs | ||
test_rewrite.rs | ||
test_view.rs | ||
test_working_copy.rs | ||
test_working_copy_concurrent.rs | ||
test_workspace.rs |