The Padres’ 5-3 win prevented a sweep, setting the tone for their next August rematches in the NL West.