ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli/tests
Austin Seipp a31fe7f6d6 cli: implement workspace add --sparse-patterns
This flag implements three modes:

- `copy`: copy sparse patterns from parent
- `full`: do not copy sparse patterns from parent
- `empty`: clear all paths, equal to `set --clear`

This is useful for various tooling like tools that want to run a parallel
process that queries the build system (without running into locks/blocking.)

I think continuing to copy sparse patterns makes sense as the default behavior.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2024-09-06 16:22:47 -05:00
..
common tests: set $COLUMNS when running CLI tests 2024-09-05 08:56:04 -07:00
cli-reference@.md.snap cli: implement workspace add --sparse-patterns 2024-09-06 16:22:47 -05:00
runner.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
test_abandon_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_acls.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_advance_branches.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_alias.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_backout_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_branch_command.rs str_util: add regex pattern 2024-07-22 12:00:52 +09:00
test_builtin_aliases.rs Define builtin_immutable_heads() as a default revset alias. 2024-08-14 11:32:16 +01:00
test_checkout.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_commit_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_commit_template.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
test_concurrent_operations.rs op log: change "resolve concurrent" to "reconcile divergent" 2024-08-30 21:56:11 -07:00
test_config_command.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_copy_detection.rs copy-tracking: add a command line driver with a simple test 2024-07-03 20:26:30 -04:00
test_debug_command.rs tests: avoid deprecated jj init --git/--git-repo 2024-05-17 13:55:20 -07:00
test_describe_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_diff_command.rs cli: change default inline threshold of color-words diffs 2024-08-28 10:33:33 +09:00
test_diffedit_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_duplicate_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_edit_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_evolog_command.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
test_file_chmod_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_file_print_command.rs cli: rename jj file print (formerly jj cat) to jj file show 2024-06-26 17:11:16 -07:00
test_file_untrack_command.rs cli: move "untrack" to "file" subcommand 2024-08-26 01:19:15 +09:00
test_fix_command.rs cli: fix: add --include-unchanged-files flag to allow fixing as yet unchanged files 2024-09-06 13:50:28 -05:00
test_generate_md_cli_help.rs test_generate_cli_reference: fixup to 52c415e, remove mysterious comment 2024-06-15 20:30:40 -07:00
test_git_clone.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_git_colocated.rs git: on abandoning unreachable commits, don't count HEAD ref 2024-07-24 21:22:26 +09:00
test_git_fetch.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_import_export.rs commit_builder: reset author timestamp on discardable commits 2024-06-29 08:35:53 -05:00
test_git_init.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_git_private_commits.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_git_push.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_git_remotes.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_git_submodule.rs tests: avoid deprecated jj init --git/--git-repo 2024-05-17 13:55:20 -07:00
test_gitignores.rs git: resolve relative core.excludesFile path at workspace root 2024-08-08 23:05:46 +09:00
test_global_opts.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_immutable_commits.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_init_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_interdiff_command.rs diff: fix typo in Git diff "index old..new" header 2024-07-15 14:45:59 +09:00
test_log_command.rs cli: parse graph node settings strictly 2024-09-06 09:51:10 +09:00
test_move_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_new_command.rs op log: change "resolve concurrent" to "reconcile divergent" 2024-08-30 21:56:11 -07:00
test_next_prev_commands.rs next/prev: update error message when no movement targets are found. 2024-08-25 09:58:04 +01:00
test_operations.rs op log: change "resolve concurrent" to "reconcile divergent" 2024-08-30 21:56:11 -07:00
test_parallelize_command.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_rebase_command.rs rewrite: move_commits: do not remove parents of target commits which are outside the target set 2024-08-17 23:27:47 +08:00
test_repo_change_report.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_resolve_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_restore_command.rs cli_util: add missing word in conflict resolution instructions 2024-07-17 08:10:25 +02:00
test_revset_output.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_root.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_shell_completion.rs compile integration tests as a single binary 2024-02-06 18:19:41 -08:00
test_show_command.rs diff: omit rename source entries from color-words diffs 2024-08-22 20:17:19 +09:00
test_sparse_command.rs windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
test_split_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_squash_command.rs cli: rename obslog to evolution-log/evolog 2024-09-05 13:45:17 -07:00
test_status_command.rs status: report copies and renames 2024-08-23 18:51:02 -07:00
test_tag_command.rs templater: add helper method that unwraps Option<T> property 2024-05-09 08:51:34 +09:00
test_templater.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_undo.rs Enable the new graph nodes by default. 2024-07-16 12:54:24 +02:00
test_unsquash_command.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_util_command.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
test_working_copy.rs cli: create jj file list and deprecate jj files 2024-06-17 14:13:36 -04:00
test_workspaces.rs cli: implement workspace add --sparse-patterns 2024-09-06 16:22:47 -05:00