Skip to content
Snippets Groups Projects

Storage: Fix snapshot_get_latest implementation

While working on the Subversion loader, I noticed that the snapshot_get_latest method from the Storage class was not returning the latest snapshot to date for an origin but instead the first created one.

That diff fixes the underlying database query in order for the method to honor its semantics.

Test Plan

Test data have been updated accordingly to capture the fixed issue.


Migrated from D419 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading