The Padres have reached a deal to acquire right-hander Joe Musgrove from the Pirates in a three-team trade that also involves the Mets, sources said.