Brett Anderson pitched 7 2/3 innings and the Dodgers caught the Mets for home-field advantage in the National League Division Series with a 3-2 win over the Giants on Thursday at AT&T Park in the career farewell of San Francisco starter Tim Hudson.