ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk b5ea79f32e revset: add new graph iterator function for tests
I'm about to make `Revset::iter()` yield just `CommitId`s, but the
tests in `test_default_revset_graph_iterator.rs` need an `IndexEntry`
iterator so they can pass it into `RevsetGraphIterator::new()`. This
commits prepares for the change by adding a
`RevsetImpl::iter_graph_impl()` that returns `RevsetGraphIterator`,
keeping `InternalRevset` still hidden within the revset engine. We
could instead have made that (and `ToPredicateFn`) visible to tests. I
can't say which is better.
2023-03-23 21:58:15 -07:00
..
gen-protos
src revset: add new graph iterator function for tests 2023-03-23 21:58:15 -07:00
tests revset: add new graph iterator function for tests 2023-03-23 21:58:15 -07:00
testutils
build.rs
Cargo.toml cargo: bump insta from 1.28.0 to 1.29.0 2023-03-23 09:34:27 -07:00