mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
It turns out that the use case I had for `exactly()` was slightly more subtle, and I need range support. In particular, usage of `exactly()` in expressions used by `revsets.log-graph-prioritize` can and will cause `jj log` to fail if the assertion fails; in my case, a particular expression I use should be equal to zero-or-one revisions. This (ab)uses string literal syntax to parse out a range that is like a subset of Rust's range syntax; in particular unbounded endpoints like `x..` or `..=y` are not supported. Ideally the grammar would be expanded to handle this case more smoothly. Signed-off-by: Austin Seipp <aseipp@pobox.com> |
||
|---|---|---|
| .. | ||
| benches | ||
| gen-protos | ||
| proc-macros | ||
| src | ||
| tests | ||
| testutils | ||
| Cargo.toml | ||
| LICENSE | ||