jj/lib
Austin Seipp 643c41bc4a lib: allow exactly() to take interval ranges as an argument
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>
2025-09-24 23:17:57 -05:00
..
benches cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
gen-protos protos: rename op_store to simple_op_store 2025-08-14 14:15:17 +00:00
proc-macros cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
src lib: allow exactly() to take interval ranges as an argument 2025-09-24 23:17:57 -05:00
tests lib: allow exactly() to take interval ranges as an argument 2025-09-24 23:17:57 -05:00
testutils cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
Cargo.toml backend: remove unused TreeValue::Conflict and read/write methods 2025-09-04 16:26:44 +00:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00