jj/tests
Yuya Nishihara 8b00a64ab2 cli: load revset aliases from config file
Aliases are loaded at WorkspaceCommandHelper::new() as it's easier to warn
invalid declarations there. Not all commands use revsets, but many do, so
I think it's okay to always pay the loading cost. Parsing the declaration
part (i.e. a symbol) should be fast anyway.

The nested error message isn't super readable, but seems good enough.

Config syntax to bikeshed:
- naming: [revset-alias] vs [revset-aliases] ?
- function alias will need quotes: 'f(x)' = 'x'
2022-11-27 20:12:22 +09:00
..
common operations: allow overriding timestamps for tests 2022-11-24 16:00:20 -10:00
test_alias.rs tests: suppress must_use warning and update cli_error output 2022-11-21 23:14:50 +09:00
test_branch_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_checkout.rs cli: drop support for ui.enable-open-commits config 2022-11-05 06:14:37 -07:00
test_commit_command.rs Fix some cargo +nightly clippy warnings 2022-11-24 20:29:17 -08:00
test_concurrent_operations.rs tests: use snapshot testing for operation log 2022-11-24 16:00:20 -10:00
test_describe_command.rs cli: make jj move/squash/unsquash ask for combined description 2022-08-30 21:41:26 -07:00
test_diff_command.rs diff: make sure word diff print final newline 2022-07-07 23:29:18 +09:00
test_edit_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_git_clone.rs Fixes suggested by new version of Clippy 2022-11-03 21:38:16 -07:00
test_git_colocated.rs cli: when export to git fails, report failed branches 2022-11-26 06:05:29 -10:00
test_git_export.rs cli: when export to git fails, report failed branches 2022-11-26 06:05:29 -10:00
test_git_push.rs test_git_push: create Git repo using jj commands 2022-11-13 15:29:48 -08:00
test_git_remotes.rs cli: add git remote rename subcommand 2022-10-20 11:04:16 -07:00
test_gitignores.rs
test_global_opts.rs feature: add verbose flag and tracing library 2022-11-24 16:35:14 +10:00
test_init_command.rs log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
test_interdiff_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_log_command.rs feature: support relative timestamps as a config option 2022-11-27 08:35:17 +10:00
test_move_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_new_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_obslog_command.rs log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
test_operations.rs tests: use snapshot testing for operation log 2022-11-24 16:00:20 -10:00
test_print_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_rebase_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_restore_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_revset_output.rs cli: load revset aliases from config file 2022-11-27 20:12:22 +09:00
test_show_command.rs feature: support relative timestamps as a config option 2022-11-27 08:35:17 +10:00
test_sparse_command.rs
test_split_command.rs Test split commit message 2022-11-24 20:29:17 -08:00
test_squash_command.rs tests: use jj new instead of jj merge in tests 2022-08-31 07:51:32 -07:00
test_templater.rs git: on initial export, export all branches 2022-11-13 15:06:10 -08:00
test_touchup_command.rs Fixes suggested by new version of Clippy 2022-11-03 21:38:16 -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: use jj new instead of jj merge in tests 2022-08-31 07:51:32 -07:00
test_untrack_command.rs tests: assert result of TestEnvironment::jj_cmd_cli_error 2022-11-20 05:08:35 -08:00
test_workspaces.rs tests: avoid about-to-be-deleted close command 2022-11-05 06:14:37 -07:00