HomeSoftware Heritage

origin_get_with_statuses: Fix case when fetched visits list is empty
d255fb3c8a41Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

origin_get_with_statuses: Fix case when fetched visits list is empty

Ensure to return an empty list of results when fetched visits list is
empty, for instance when the provided page_token is greater or equal
to latest origin visit.

Related to T4090

Details

Provenance
anlambertAuthored on Apr 12 2022, 12:06 PM
anlambertPushed on Apr 12 2022, 12:10 PM
Parents
R65:7c9586a0bb15: Add .git-blame-ignore-revs file with automatic reformatting commits
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/27381, tag: phabricator/base/27382

Event Timeline