jj/tests
Aleksandr Mikhailov e7077909c1 cli: fix jj squash on empty commit
Fixes #787
If `jj squash` is run on an empty commit, it fails with "Error: No changes selected"

With this change such squash command will behave like `jj abandon`.
2023-01-26 11:37:20 +01:00
..
common tests: make fake editor scripts initially empty 2023-01-25 21:58:38 -08:00
test_abandon_command.rs Make jj abandon print each abandoned commit once 2023-01-17 21:17:27 -08:00
test_alias.rs repo: add workaround for shortest prefix calculation of root ids 2023-01-22 12:03:08 +09:00
test_branch_command.rs
test_cat_command.rs cli: rename print to cat 2023-01-18 10:10:02 -08:00
test_checkout.rs cli: make short_commit_description() compatible with default summary template 2023-01-16 11:53:35 +09:00
test_commit_command.rs
test_commit_template.rs repo: add workaround for shortest prefix calculation of root ids 2023-01-22 12:03:08 +09:00
test_concurrent_operations.rs
test_config_command.rs
test_debug_command.rs
test_describe_command.rs
test_diff_command.rs
test_diffedit_command.rs tests: make fake editor scripts initially empty 2023-01-25 21:58:38 -08:00
test_duplicate_command.rs jj duplicate: Allow duplicating several commits at once 2023-01-17 21:17:27 -08:00
test_edit_command.rs repo: propagate error when current working-copy commit is not found 2023-01-24 12:20:28 -08:00
test_git_clone.rs
test_git_colocated.rs revset: ignore valid commit ids unknown to jj 2023-01-14 18:29:35 +01:00
test_git_export.rs
test_git_push.rs
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs formatter: don't write escape codes until we write text 2023-01-13 21:47:50 -08:00
test_init_command.rs templater: fix id of brackets-prefix format to respect total length 2023-01-19 16:41:50 +09:00
test_interdiff_command.rs
test_log_command.rs repo: add workaround for shortest prefix calculation of root ids 2023-01-22 12:03:08 +09:00
test_move_command.rs tests: make fake editor scripts initially empty 2023-01-25 21:58:38 -08:00
test_new_command.rs
test_obslog_command.rs test_obslog_command.rs: stop removing change ids 2023-01-25 22:07:07 -08:00
test_operations.rs
test_rebase_command.rs
test_resolve_command.rs formatter: don't write escape codes until we write text 2023-01-13 21:47:50 -08:00
test_restore_command.rs
test_revset_output.rs repo: add workaround for shortest prefix calculation of root ids 2023-01-22 12:03:08 +09:00
test_show_command.rs
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs cli: fix jj squash on empty commit 2023-01-26 11:37:20 +01:00
test_status_command.rs
test_templater.rs
test_undo.rs
test_unsquash_command.rs tests: make fake editor scripts initially empty 2023-01-25 21:58:38 -08:00
test_untrack_command.rs
test_workspaces.rs cleanup: update more "checkout" to "working-copy commit" and similar 2023-01-25 11:02:59 -08:00