Skip to content
Snippets Groups Projects
Commit 08de80b6 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

origin layer: retrieve multiple levels of revision history at once

Replace `revision_get_parents` with `revision_get_some_outbound_edges`,
which can optionally retrieve more levels of history than just a single
one. This allows us to do way fewer queries on the swh.graph or
swh.storage backend if the revision exists there.

The swh.storage backend does limited recursion, so we still process the
origin in multiple steps to fetch the whole history.
parent 68e1907e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment