ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk 5f3df4aaea revset: resolve "@" symbol's workspace id earlier (while parsing)
We resolve file paths into repo-relative paths while parsing the
revset expression, so I think it's consistent to also resolve which
workspace "@" refers to while parsing it. That means we won't need the
workspace context both while parsing and while resolving symbols.

In order to break things like `author("martinvonz@")` (thanks to @yuja
for catching this), I also changed the parsing of working-copy
expressions so they are not allowed to be
quoted. `author(martinvonz@)` will therefore be an error now. That
seems like a small improvement anyway, since we have recently talked
about making `root` and `[workspace]@` not parsed as other symbols.
2023-08-20 17:57:18 -07:00
..
test_bad_locking.rs
test_commit_builder.rs commits: use empty strings instead of placeholders for missing name or email 2023-08-18 17:22:59 -05:00
test_commit_concurrent.rs
test_conflicts.rs conflicts: remove redundant num_removes argument from parse_conflict() 2023-08-13 09:54:16 +00:00
test_default_revset_graph_iterator.rs
test_diff_summary.rs
test_git.rs
test_id_prefix.rs revset: resolve "@" symbol's workspace id earlier (while parsing) 2023-08-20 17:57:18 -07:00
test_index.rs
test_init.rs commits: use empty strings instead of placeholders for missing name or email 2023-08-18 17:22:59 -05:00
test_load_repo.rs
test_merge_trees.rs
test_merged_tree.rs merged_tree: add path_value() 2023-08-15 07:56:55 -07:00
test_mut_repo.rs
test_operations.rs
test_refs.rs
test_revset.rs revset: resolve "@" symbol's workspace id earlier (while parsing) 2023-08-20 17:57:18 -07:00
test_rewrite.rs
test_view.rs
test_working_copy.rs tests: hack around broken lint 2023-08-17 19:29:38 -07:00
test_working_copy_concurrent.rs testutils: propagate snapshot errors 2023-08-17 19:29:38 -07:00
test_working_copy_sparse.rs testutils: propagate snapshot errors 2023-08-17 19:29:38 -07:00
test_workspace.rs