Skip to content

Commit

Permalink
revset: propagate errors from filter predicates
Browse files Browse the repository at this point in the history
All intermediate nodes are changed to RevWalk of Result<IndexPosition, _> type
to pass BackendError around from filter predicates. Leaf ancestors/descendants
computation is unchanged, and mapped to Result at revset_engine layer. This is
simpler than converting all RevWalk impls to Result<_, _>.
  • Loading branch information
yuja committed Oct 23, 2024
1 parent e37378d commit 4187847
Show file tree
Hide file tree
Showing 2 changed files with 399 additions and 194 deletions.
Loading

0 comments on commit 4187847

Please sign in to comment.