ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Martin von Zweigbergk 94501131ac cli: when merging concurrent operations, snapshot afterwards
It seems simpler to do the snapshotting after merging any concurrent
operations instead of snapshotting on top of one of the operations,
especially since the attempt to snapshot may end up noticing that the
working copy is stale.

More importantly, snapshotting before resolving operations resulted in
a crash if the working copy was modified. That happened because we
held a lock on the operation heads (`locked_op_heads`) while we tried
to record the operation committing the working copy. I noticed this
only after adding the test.
2022-10-12 06:22:38 -07:00
..
common
smoke_test.rs
test_alias.rs
test_branch_command.rs
test_checkout.rs
test_concurrent_operations.rs cli: when merging concurrent operations, snapshot afterwards 2022-10-12 06:22:38 -07:00
test_describe_command.rs
test_diff_command.rs
test_edit_command.rs
test_git_clone.rs
test_git_colocated.rs
test_git_push.rs cli: on push, indicate which branches we're going to force-push 2022-09-27 02:23:05 -07:00
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs cli: remind the user to configure their name and email 2022-10-09 21:24:05 -07:00
test_init_command.rs cleanup: automated fixes by new Clippy version 2022-10-09 12:20:15 -07:00
test_interdiff_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_log_command.rs add default log revset configuration setting 2022-10-02 16:56:18 +09:00
test_move_command.rs
test_new_command.rs
test_obslog_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_operations.rs
test_print_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_rebase_command.rs
test_restore_command.rs
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs
test_touchup_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_undo.rs
test_unsquash_command.rs
test_untrack_command.rs cli: disallow initializing repo with native backend by default 2022-10-09 01:00:03 -07:00
test_workspaces.rs