mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 08:53:16 +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. |
||
---|---|---|
.. | ||
commands | ||
config | ||
merge_tools | ||
cleanup_guard.rs | ||
cli_util.rs | ||
commit_templater.rs | ||
config-schema.json | ||
config.rs | ||
diff_util.rs | ||
formatter.rs | ||
graphlog.rs | ||
lib.rs | ||
main.rs | ||
operation_templater.rs | ||
progress.rs | ||
template.pest | ||
template_builder.rs | ||
template_parser.rs | ||
templater.rs | ||
text_util.rs | ||
time_util.rs | ||
ui.rs |