jj/cli
Yuya Nishihara a757fddcf1 revset: parse file() argument as fileset expression
Since fileset and revset languages are syntactically close, we can reparse
revset expression as a fileset. This might sound a bit scary, but helps
eliminate nested quoting like file("~glob:'*.rs'"). One oddity exists in alias
substitution, though. Another possible problem is that we'll need to add fake
operator parsing rules if we introduce incompatibility in fileset, or want to
embed revset expressions in a fileset.

Since "file(x, y)" is equivalent to "file(x|y)", the former will be deprecated.
I'll probably add a mechanism to collect warnings during parsing.
2024-07-16 10:18:57 +09:00
..
examples copy-tracking: stub get_copy_records 2024-07-03 20:26:30 -04:00
src obslog: reverse order of predecessors in topo traversal 2024-07-15 20:10:31 -05:00
testing cli: skip formatting instructions if not required 2024-07-09 20:24:14 -05:00
tests revset: parse file() argument as fileset expression 2024-07-16 10:18:57 +09:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00