SAN FRANCISCO -- Jim Tracy has always liked Jhoulys Chacin's potential, and the Colorado manager has told the pitcher so many a time. The Rockies also were straight with their young right-hander this spring: figure out your fastball to stay in the major leagues.
Chacin allowed one hit in seven scoreless innings for his first major league win, Melvin Mora hit a two-run single and the Rockies avoided a three-game sweep by beating the San Francisco Giants 4-1 on Sunday.
"He always told me, 'You can do it' and 'I'm confident in you,'" Chacin said, recalling his conversations with Tracy even before he was promoted from bench coach to manager last May. "They told me I had to throw my fastball for strikes."
Chacin (1-0) struck out seven and didn't allow a hit until Matt Downs' two-out double in the fifth, one of only a couple of well-struck balls he gave up as he kept attacking hitters deep into the game.
"He was really working the outside corner, nibbling off the plate away," San Francisco's Aubrey Huff said. "He wouldn't give in."
Paul Phillips drew a bases-loaded walk from Jonathan Sanchez (2-2) in the fourth to put Colorado ahead 1-0 and Ryan Spilborghs also singled home a run in the four-run fifth. The Rockies snapped their season-worst three-game losing streak.
Huff homered for the second straight day, leading off the ninth with a drive against Manny Corpas.
The Rockies earned a rare victory in the Giants' waterfront ballpark, where Colorado won for only the third time in the last 12 games.
The 22-year-old Chacin walked three in his second career start and 11th big league appearance, shutting down a San Francisco lineup that scored 11 runs in the first two games. The right-hander, in the rotation because of all the injuries to the Rockies' pitching staff, made his major league debut against the Giants in the ninth inning last July 25 at Coors Field.
He was hoping to get the souvenir game ball from his first win, saying, "I'm very happy." Chacin combined for 18 wins at two levels in the minors in 2008 -- and has always had impressive off-speed stuff. He routinely got strikeouts with his slider on Sunday.
"I'm a big believer in this kid and have been for a long time," Tracy said. "I was a believer last year when his fastball command was eluding him. ... He showed me glimpses when I started here as a coach."
For the second straight series, the Giants lost the finale with a chance to sweep. San Francisco still finished an impressive 6-3 homestand against three 2009 playoff teams: St. Louis, Philadelphia and Colorado.
"It's difficult. A lot has to go your way. To sweep you have to be clicking everywhere, pitching and hitting, and hope that they scuffle on all ends," Giants manager Bruce Bochy said. "It's a good homestand. It could have been a great one with this win."
San Francisco leadoff man and center fielder Aaron Rowand went 1 for 4 with two strikeouts in his return from the disabled list. He missed time with small fractures of his left cheekbone and a mild concussion after he was hit by a pitch from Vicente Padilla on April 16.
"I've been saving up for that," Giambi said, grinning.
The Rockies still must go to San Diego and Los Angeles on this nine-game road trip during a stretch of 12 straight games against NL West teams.
Mora reached 700 RBIs. ... San Francisco No. 5 starter Todd Wellemeyer, whose next turn is being skipped, pitched in relief. ... Colorado's Dexter Fowler, who had stolen a base in three straight games, was caught for the second time in 2010. ... Rockies LHP Jeff Francis threw four innings in an extended spring training game Saturday as he recovers from a strained pitching shoulder. He is scheduled to start for Double-A Tulsa on Thursday against Arkansas. ... Colorado closer Huston Street will throw batting practice Tuesday in San Diego, the first time he will face hitters since right shoulder inflammation sidelined him at the end of spring training. ... Clint Barmes batted second for the first time this season for the Rockies. ... Colorado first-base coach Glenallen Hill waved his hat and cheered from the top of the dugout steps when the team from his native Santa Cruz was announced on Little League day.