mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-10 14:20:31 +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. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
Cargo.toml |