jj/cli/tests
Yuya Nishihara 81f1ae38b3 revset: add literal:"string" pattern syntax
The syntax is slightly different from Mercurial. In Mercurial, a pattern must
be quoted like "<kind>:<needle>". In JJ, <kind> is a separate parsing node, and
it must not appear in a quoted string. This allows us to report unknown prefix
as an error.

There's another subtle behavior difference. In Mercurial, branch(unknown) is
an error, whereas our branches(literal:unknown) is resolved to an empty set.
I think erroring out doesn't make sense for JJ since branches() by default
performs substring matching, so its behavior is more like a filter.

The parser abuses DAG range syntax for now. It can be rewritten once we remove
the deprecated x:y range syntax.
2023-08-17 07:42:12 +09:00
..
common tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_abandon_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_alias.rs cli: hide irrelevant information about root commit in default log templates 2023-08-15 18:54:59 +03:00
test_branch_command.rs index: import commits in chronological order 2023-08-15 15:03:45 +09:00
test_cat_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_checkout.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_chmod_command.rs cli: say that jj chmod errors out if there are any non-file sides 2023-08-14 18:15:34 -07:00
test_commit_command.rs cli: add support for setting default description 2023-08-13 23:59:15 +05:30
test_commit_template.rs cli: hide irrelevant information about root commit in default log templates 2023-08-15 18:54:59 +03:00
test_concurrent_operations.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_config_command.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00
test_debug_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_describe_command.rs cli: add support for setting default description 2023-08-13 23:59:15 +05:30
test_diff_command.rs cli: hide irrelevant information about root commit in default log templates 2023-08-15 18:54:59 +03:00
test_diffedit_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_duplicate_command.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00
test_edit_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_git_clone.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00
test_git_colocated.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00
test_git_fetch.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_git_import_export.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_git_push.rs cli: include hint when push is not fast-forward 2023-08-14 07:31:13 -07:00
test_git_remotes.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_git_submodule.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_gitignores.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_global_opts.rs Fixed missing quote in "jj config set" help 2023-08-16 14:57:48 -04:00
test_init_command.rs cli: hide irrelevant information about root commit in default log templates 2023-08-15 18:54:59 +03:00
test_interdiff_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_log_command.rs cli: hide irrelevant information about root commit in default log templates 2023-08-15 18:54:59 +03:00
test_move_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_new_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_obslog_command.rs cli: add "--limit N" option to log-like commands 2023-08-11 10:40:40 +09:00
test_operations.rs cli: add "--limit N" option to log-like commands 2023-08-11 10:40:40 +09:00
test_rebase_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_resolve_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_restore_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_revset_output.rs revset: add literal:"string" pattern syntax 2023-08-17 07:42:12 +09:00
test_show_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_sparse_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_split_command.rs cli: when splitting change without description, skip it on second part 2023-08-15 10:12:12 -07:00
test_squash_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_status_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_templater.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00
test_undo.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_unsquash_command.rs cli templates: include branches in short commit description 2023-08-10 20:58:40 -07:00
test_untrack_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_util_command.rs tests: move tests/ under cli/ so they're run again 2023-08-05 06:18:59 +00:00
test_workspaces.rs cleanup: fix warnings from nightly clippy 2023-08-14 22:11:56 -07:00