HomeSoftware Heritage

postgresql: Fix get_snapshot_branches return value for empty search

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

postgresql: Fix get_snapshot_branches return value for empty search

When searching for branches in an existing snapshot, a PartialBranches
object must be returned regardless the number of found branches.

None should only be returned when a snapshot does not exist.

This fixes an inconsistency between the postgresql and cassandra
backends.

Related to T3413

Commit No Longer Exists

This commit no longer exists in the repository.