ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Yuya Nishihara a868b2d9a5 revset: do not lookup unimported tags or remote branches by unqualified name
Since e7e49527ef "git: ensure that remote branches never diverge", the last
known "refs/remotes" ref should be synced with the corresponding remote branch.
So we can always trust the branch@remote expression. We don't need "refs/tags"
lookup either since tags should have been imported by git::import_refs().

FWIW, I'm thinking of reorganizing view.git_refs() map as per-remote views.
It would be nice if we can get rid of revsets and template keywords exposing
low-level Git ref primitives.
2023-09-06 13:42:22 +09:00
..
test_bad_locking.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_commit_builder.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_commit_concurrent.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_conflicts.rs merge: add Merge::num_sides() 2023-08-25 08:54:49 -07:00
test_default_revset_graph_iterator.rs revset_graph: preserve original parents order 2023-07-29 05:36:09 +09:00
test_diff_summary.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_git.rs git: skip branches on root commit on export 2023-09-04 20:08:11 -07:00
test_id_prefix.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_index.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
test_init.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_load_repo.rs operation: propagate OpStoreError 2023-07-25 12:46:59 -05:00
test_merge_trees.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_merged_tree.rs merged_tree: allow building trees with variable-arity overrides 2023-09-01 06:09:37 -07:00
test_mut_repo.rs store: add a empty_merged_tree_id() helper 2023-08-30 19:58:42 -07:00
test_operations.rs op_store: make ViewId and OperationId implement ObjectId 2023-07-26 14:17:21 -07:00
test_refs.rs conflicts: move Merge<T> to merge module 2023-08-06 22:08:09 +00:00
test_revset.rs revset: do not lookup unimported tags or remote branches by unqualified name 2023-09-06 13:42:22 +09:00
test_rewrite.rs commit: drop merged_ prefix from tree() and tree_id() 2023-08-29 08:32:04 -07:00
test_view.rs tests: move commit_transactions() helper to testutils 2023-08-10 06:27:16 +09:00
test_working_copy.rs working_copy: in LockedWorkingCopy::drop(), discard unsaved changes 2023-09-01 12:25:47 -07:00
test_working_copy_concurrent.rs working_copy: in LockedWorkingCopy::drop(), discard unsaved changes 2023-09-01 12:25:47 -07:00
test_working_copy_sparse.rs tests: make create_tree() return MergedTree 2023-08-29 07:01:52 -07:00
test_workspace.rs cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00