jj/tests
Martin von Zweigbergk 8ae9540f2c cli: make move/squash/unsquash keep empty working-copy commit
If the source commit becomes empty as a result of
`move/squash/unsquash`, we abandon it. However, perhaps we shouldn't
do that if the source commit is a working-copy commit because
working-copy commits are often work-in-progress commits.

The background for this change is that @arxanas had just started a new
change and had set a description on it, and then decided to make some
changes in the working copy that should be in the parent
commit. Running `jj squash` then abandoned the working-copy commit,
resuling in the description getting lost.
2022-05-30 07:52:24 -07:00
..
common tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
smoke_test.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_alias.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_branch_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_concurrent_operations.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_describe_command.rs cli: respect $VISUAL, overriding $EDITOR 2022-05-10 10:39:59 -07:00
test_diff_command.rs
test_edit_command.rs cli: make move/squash/unsquash keep empty working-copy commit 2022-05-30 07:52:24 -07:00
test_git_colocated.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_git_push.rs
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs cli: make aliases (for commands and arguments) visible in help 2022-05-17 11:02:03 -07:00
test_init_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_log_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_move_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_new.rs checkout: don't abandon old commit if it has non-empty description 2022-05-21 22:12:15 -07:00
test_operations.rs graphlog: don't de-indent multi-line text at end of chain 2022-05-11 04:42:44 -07:00
test_print_command.rs
test_rebase_command.rs tests: extract a methods for log output in a few more tests 2022-05-30 07:52:24 -07:00
test_restore_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_sparse_command.rs
test_split_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_squash_command.rs cli: make move/squash/unsquash keep empty working-copy commit 2022-05-30 07:52:24 -07:00
test_undo.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_unsquash_command.rs tests: add e2e test for jj unsquash 2022-05-30 07:52:24 -07:00
test_untrack_command.rs tests: check exit code on failure, and fix a bug in argument parsing 2022-05-10 04:02:24 -07:00
test_workspaces.rs cli: make move/squash/unsquash keep empty working-copy commit 2022-05-30 07:52:24 -07:00