jj/tests
Yuya Nishihara bab13e1982 cli: snapshot stale working copy before updating
Since there's no easy API to snapshot the stale working copy without releasing
the lock, we have to compare the tree ids after reacquiring the lock. We could
instead manually snapshot and rebase the working-copy commit, but that would
require more copy-paste codes.

Closes #1310
2023-02-28 12:59:30 +09:00
..
common repo: propagate error when failing to look up backend type 2023-02-27 09:44:28 -08:00
test_abandon_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_alias.rs templater: use reverse-alphabet hex for change ids 2023-02-13 22:49:21 -08:00
test_branch_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_cat_command.rs cli: rename print to cat 2023-01-18 10:10:02 -08:00
test_checkout.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_commit_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_commit_template.rs templater: Allow separate styling for change and commit ids 2023-02-21 22:50:27 -08:00
test_concurrent_operations.rs cli: include command args in "snapshot working copy" op log 2023-02-28 12:59:30 +09:00
test_config_command.rs tests: add test of jj config edit --repo outside of repo 2023-02-27 09:44:28 -08:00
test_debug_command.rs Add "jj debug config-schema" command to output JSON schema 2023-01-03 22:02:25 -06:00
test_describe_command.rs tests: pass string instead of bytes to add_config() 2023-01-26 12:48:30 -08:00
test_diff_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_diffedit_command.rs tests: make fake editor scripts initially empty 2023-01-25 21:58:38 -08:00
test_duplicate_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_edit_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_git_clone.rs cli: on clone, turn local git remote to absolute path 2022-12-07 14:14:31 +09:00
test_git_colocated.rs templater: use reverse-alphabet hex for change ids 2023-02-13 22:49:21 -08:00
test_git_fetch.rs git remote rename: rename git refs as well 2023-02-26 15:22:18 +01:00
test_git_import_export.rs git: add git.auto-local-branch 2023-01-29 20:17:49 -08:00
test_git_push.rs git push: add --deleted option 2023-02-19 18:18:53 +01:00
test_git_remotes.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_gitignores.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_global_opts.rs repo: propagate error when failing to look up backend type 2023-02-27 09:44:28 -08:00
test_init_command.rs templater: use reverse-alphabet hex for change ids 2023-02-13 22:49:21 -08:00
test_interdiff_command.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_log_command.rs config: remove ui.log-author-format in favor of template alias 2023-02-16 11:43:17 +09:00
test_move_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_new_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_obslog_command.rs conflicts: replace missing files by empty in materialized conflict 2023-02-17 22:19:04 -08:00
test_operations.rs cli: add "op log -T" option and basic tests for template keywords 2023-02-20 18:20:41 +09:00
test_rebase_command.rs cmd: Allow multiple -b for jj rebase 2023-02-20 00:36:32 -08:00
test_resolve_command.rs conflicts: preserve order of adds in materialized conflict 2023-02-18 22:01:25 -08:00
test_restore_command.rs cmd: Make jj restore work if @ is a merge commit 2023-02-19 22:55:53 -08:00
test_revset_output.rs templater: use reverse-alphabet hex for change ids 2023-02-13 22:49:21 -08:00
test_show_command.rs config: migrate log/show timestamp format away from config knob 2023-02-16 11:43:17 +09:00
test_sparse_command.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_split_command.rs templater: use reverse-alphabet hex for change ids 2023-02-13 22:49:21 -08:00
test_squash_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_status_command.rs cli: append "\n" to commit description specified by -m/--message 2022-12-22 14:59:03 +09:00
test_templater.rs templater: Upper and lowercase ids and strings 2023-02-21 22:50:27 -08:00
test_undo.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_unsquash_command.rs cli: switch default graph style to be Sapling's curved style 2023-02-12 07:23:29 -08:00
test_untrack_command.rs tests: pass string instead of bytes to add_config() 2023-01-26 12:48:30 -08:00
test_workspaces.rs cli: snapshot stale working copy before updating 2023-02-28 12:59:30 +09:00