Throw Back Uniforms, same old Cubs.

SAN FRANCISCO — Matt Cain paid tribute to old-school baseball by bringing his hands behind his head and releasing his first pitch with the high windup, recreating the look of a bygone era.After that, he was vintage Cain. The ace right-hander pitched into the ninth inning on the way to winning his fifth straight start, leading the San Francisco Giants past the Cubs 2-1 on Saturday.Aubrey Huff drew a bases-loaded walk to tie the game at 1 in the sixth, then San Francisco went ahead on an RBI fielder’s choice by Joaquin Arias on which Huff broke up a would-be double play. Huff produced his first RBI since April 16 and just his fifth this season after he spent a stint on the disabled list with anxiety disorder and is no longer a regular.

“That at-bat was huge,” manager Bruce Bochy said. “We got a run in. That’s what it takes to win ballgames.”

David DeJesus homered but it wasn’t enough to help the Cubs avoid their ninth straight road loss. It is their longest skid away from Wrigley Field since also dropping nine in a row from Aug. 25 to Sept. 10, 2006.Cain (6-2) was his dominant self on turn-back-the-clock to 1912 day, playing in the New York Giants’ white uniforms with dark blue pinstripes. The Cubs wore head-to-toe navy blue and the scoreboard was black-and-white sans video in the spirit of the Polo Grounds.

“I liked it, it was fun. It was actually one of the most comfortable throwback jerseys we’ve ever worn,” Cain said. “A lot of them are heavy and uncomfortable. It was nice to throw in, it wasn’t a big deal.”

Cain allowed a leadoff walk to Starlin Castro in the ninth before Bochy turned to Javier Lopez, who induced DeJesus’ double play before Sergio Romo recorded the final out for his first save in his first chance. Cain struck out seven and waved after walking off to a standing ovation after an impressive 117-pitch day. He moved his career record to 75-75, the right-hander’s first time at .500 since he was 17-17 in 2007.He stayed strong in the late innings, getting through a 1-2-3 seventh on seven pitches to put him at 94. He wanted to finish it, and nearly did.Melky Cabrera singled in the sixth for his majors-leading 81st hit for San Francisco, which began the day four games back of the first-place Dodgers for their closest spot to division-leading Los Angeles since May 8. The Dodgers won 6-2 at Colorado earlier Saturday.DeJesus hit a deep solo home run to right-center with two outs in the fourth to put the Cubs on the board. After “hours and hours of deliberating,” manager Dale Sveum dropped his primary leadoff hitter down to the third hole for the first time this year in an effort to spark the struggling Cubs.DeJesus’ second homer of the year was the 16th by an opponent this year at pitcher-friendly AT&T Park compared to just six by the Giants, who still won for the 10th time in their last 14 home games. The clout also snapped an 18-inning scoreless stretch by Cain against the Cubs.Matt Garza (2-4) struck out six and walked one in six innings, allowing two runs on five hits but lost his third straight start. The right-hander is winless in his last five outings since beating the Phillies on the road April 29.Tony Campana had two hits batting leadoff for the Cubs, who had a three-game winning streak snapped in Friday night’s 4-3 defeat. The run came on the heels of a 12-game losing streak.Angel Pagan singled in the sixth and matched a franchise record with a 26-game home hitting streak. Fitting he did so in a retro uniform, as he tied Mike Donlin’s mark set from Aug. 28, 1905, to May 5, 1906.Giants closer Santiago Casilla said he felt “bien, bien, bien” after injuring his right knee in the ninth inning Friday night. An MRI on his knee showed only a bruise and the right-hander was listed as day to day.

NOTES—Cain’s first career complete game came vs. the Cubs on Sept. 9, 2005. … Neither team actually played on June 2, 1912. …Ian Stewart sat out with a sore left wrist before pinch-hitting in the eighth. Sveum said he was unlikely to start him before Monday’s game at Milwaukee. … The Giants expect Cabrera to be a top candidate for NL Player of the Month for May, to be announced Sunday. He batted .429 with seven doubles, five triples, three home runs and 17 RBIs. … 1B Huff to former 1B J.T. Snow: “Did they take BP in 1912?” Snow: “Yeah, and they also took infield.” … The game drew a sellout crowd of 41,239 – roughly 7,000 more fans than the Polo Grounds held in 1912. … LHP Barry Zito (4-2) pitches Sunday for San Francisco against Travis Wood (0-1).