Storage: Fix snapshot_get_latest implementation
Closed
requested to merge generated-differential-D419-source into generated-differential-D419-target
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
Activity
Filter activity
Please register or sign in to reply