Nick Pivetta threw seven innings of one-hit ball and Manny Machado returned to the lineup and hit an RBI double as San Diego beat punchless Atlanta 5-0 to sweep a season-opening, four-game series.