forked from mirrors/jj
b5ea79f32e
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. |
||
---|---|---|
.. | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |