jj/tests
Martin von Zweigbergk eab5218fe5 cli: allow resolving shorter ids within a configured revset
This adds a config called `revsets.short-prefixes`, which lets the
user specify a revset in which to disambiguate otherwise ambiguous
change/commit ids. It defaults to the value of `revsets.log`.


I made it so you can disable the feature by setting
`revsets.short-prefixes = ""`. I don't like that the default value
(using `revsets.log`) cannot be configured explicitly by the
user. That will be addressed if we decide to merge the `[revsets]` and
`[revset-aliases]` sections some day.
2023-05-11 23:41:24 -07:00
..
common Make tests run on windows-gnu 2023-05-01 13:48:40 +09:00
test_abandon_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_alias.rs cli: default to log when no subcommand is provided 2023-04-17 16:30:42 -07:00
test_branch_command.rs cmd: prohibit creating branches at the root commit 2023-04-03 23:51:47 -07:00
test_cat_command.rs cli: rename print to cat 2023-01-18 10:10:02 -08:00
test_checkout.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_commit_command.rs Switch graph node to use for commit instead of 2023-04-02 23:15:37 -07:00
test_commit_template.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_concurrent_operations.rs tests: use absolute timestamps in the operation log 2023-04-08 14:02:39 -07:00
test_config_command.rs cargo: upgrade to clap 4.1 2023-03-17 22:44:29 -07:00
test_debug_command.rs revset: extract unresolved commit references to separate enum 2023-04-10 00:39:58 +09:00
test_describe_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_diff_command.rs Fix warnings in tests on non-Unix platforms 2023-05-01 13:37:31 +09:00
test_diffedit_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_duplicate_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_edit_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_clone.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_colocated.rs test_git_colocated_fetch_deleted_branch: Fix the test 2023-05-11 16:35:11 -07:00
test_git_fetch.rs cmd: when a single remote is defined, default to it for git fetch/push 2023-04-14 08:20:30 +03:00
test_git_import_export.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_push.rs tests: drop a few unnecessary --dry-run from tests 2023-04-19 22:56:51 -07: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 tracing: bump a few trace events from DEBUG to INFO 2023-05-03 11:40:23 -07:00
test_init_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09: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 cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_move_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_new_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_obslog_command.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_operations.rs templates: extract default template to an alias 2023-04-21 14:25:37 -07:00
test_rebase_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_resolve_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_restore_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_revset_output.rs revset: split out no-args head() to visible_heads() 2023-04-03 23:46:34 -07:00
test_show_command.rs cli: in "show" template, indent description like Git does 2023-03-04 12:10:53 +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 cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_squash_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09: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 Switch graph node to use for commit instead of 2023-04-02 23:15:37 -07:00
test_undo.rs Switch graph node to use for commit instead of 2023-04-02 23:15:37 -07:00
test_unsquash_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_untrack_command.rs cargo: upgrade to clap 4.1 2023-03-17 22:44:29 -07:00
test_util_command.rs cli: rename jj support to jj util 2023-04-12 21:34:47 -07:00
test_workspaces.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00