Use origin_visit_get_latest instead of snapshot_get_latest.
snapshot_get_latest is deprecated, and one of the call didn't need to get the branches at all, only the id.
Migrated from D2729 (view on Phabricator)
snapshot_get_latest is deprecated, and one of the call didn't need to get the branches at all, only the id.
Migrated from D2729 (view on Phabricator)