mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
5f3df4aaea
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. |
||
---|---|---|
.. | ||
test_bad_locking.rs | ||
test_commit_builder.rs | ||
test_commit_concurrent.rs | ||
test_conflicts.rs | ||
test_default_revset_graph_iterator.rs | ||
test_diff_summary.rs | ||
test_git.rs | ||
test_id_prefix.rs | ||
test_index.rs | ||
test_init.rs | ||
test_load_repo.rs | ||
test_merge_trees.rs | ||
test_merged_tree.rs | ||
test_mut_repo.rs | ||
test_operations.rs | ||
test_refs.rs | ||
test_revset.rs | ||
test_rewrite.rs | ||
test_view.rs | ||
test_working_copy.rs | ||
test_working_copy_concurrent.rs | ||
test_working_copy_sparse.rs | ||
test_workspace.rs |