ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
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
..
protos backend: rename ConflictPart to ConflictTerm 2023-02-17 23:28:50 -08:00
backend.rs backend: rename ConflictPart to ConflictTerm 2023-02-17 23:28:50 -08:00
commit.rs lib: add Commit::is_discardable() 2023-03-05 23:50:20 +01:00
commit_builder.rs commit_builder: add accessors for most fields 2023-03-19 00:48:05 -07:00
conflicts.rs conflicts: in materialize_merge_result(), always use adds.get(index) 2023-02-24 19:58:10 +09:00
content_hash.rs style: do not dereference self to perform pattern-matching 2023-01-14 19:28:24 +01:00
dag_walk.rs dag_walk: delete unused common_ancestor() 2023-01-29 10:42:11 -08:00
default_index_store.rs revset: add new graph iterator function for tests 2023-03-23 21:58:15 -07:00
default_revset_engine.rs revset: add new graph iterator function for tests 2023-03-23 21:58:15 -07:00
default_revset_graph_iterator.rs revset: pass IndexEntry iterator to graph iterator 2023-03-23 21:58:15 -07:00
diff.rs
file_util.rs
files.rs
git.rs git: use our own default refspec 2023-03-02 10:09:08 +01:00
git_backend.rs backend: rename ConflictPart to ConflictTerm 2023-02-17 23:28:50 -08:00
gitignore.rs gitignore: any character can be backslash-escaped 2023-01-16 21:35:54 +01:00
hex_util.rs revset: allow resolving change id using hex digits from reverse alphabet 2023-02-13 22:49:21 -08:00
index.rs index: remove position-based methods 2023-03-23 20:49:15 -07:00
legacy_thrift_op_store.rs git: allow conflicts in "HEAD@git" 2023-01-30 09:05:03 -08:00
lib.rs revset: add default_ prefix to graph iterator module 2023-03-14 05:32:02 -07:00
local_backend.rs backend: rename ConflictPart to ConflictTerm 2023-02-17 23:28:50 -08:00
lock.rs
matchers.rs
nightly_shims.rs
op_heads_store.rs refactor: use #[from] on error alternative 2023-01-21 09:46:54 +01:00
op_store.rs git: allow conflicts in "HEAD@git" 2023-01-30 09:05:03 -08:00
operation.rs
proto_op_store.rs git: allow conflicts in "HEAD@git" 2023-01-30 09:05:03 -08:00
refs.rs index: delete IndexRef, use Index trait 2023-02-14 06:51:49 -08:00
repo.rs repo: move IdIndex to revset engine 2023-03-23 20:49:15 -07:00
repo_path.rs
revset.pest revset: ignore all ascii whitespace characters 2023-03-04 00:01:54 +09:00
revset.rs repo: get change id index from revset instead of building it in repo 2023-03-23 20:49:15 -07:00
rewrite.rs rewrite: keep commits to visit instead of looking up again 2023-03-23 04:50:33 -07:00
settings.rs templater: migrate op log to template language 2023-02-20 18:20:41 +09:00
simple_op_heads_store.rs op_heads_store: let caller create initial operation 2023-02-28 08:08:31 -08:00
simple_op_store.rs git: allow conflicts in "HEAD@git" 2023-01-30 09:05:03 -08:00
simple_op_store_model.rs style: do not dereference self to perform pattern-matching 2023-01-14 19:28:24 +01:00
simple_op_store_model.thrift
stacked_table.rs
store.rs store: remove obsolete comment about root commit 2023-03-02 12:33:11 -08:00
transaction.rs index: extract a ReadonlyIndex trait 2023-03-11 22:22:46 -08:00
tree.rs tree: make conflict_term_to_conflict() take a TreeValue 2023-02-18 00:09:51 -08:00
tree_builder.rs
view.rs index: delete IndexRef, use Index trait 2023-02-14 06:51:49 -08:00
working_copy.rs working_copy: write tree_state file on init 2023-01-29 20:01:22 -08:00
workspace.rs index: merge index_store.rs into index.rs 2023-03-11 22:22:46 -08:00