yosemiteにあげたらgit svnでエラー出た

git svn fetchしたらエラー出た

$ git svn fetch
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/local/Cellar/git/1.9.2/lib/perl5/site_perl /Library/Developer/CommandLineTools/Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/Cellar/git/1.9.2/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/1.9.2/lib/perl5/site_perl/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/local/Cellar/git/1.9.2/lib/perl5/site_perl/Git/SVN.pm line 26.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/1.9.2/lib/perl5/site_perl/Git/SVN.pm line 33.
Compilation failed in require at /usr/local/Cellar/git/1.9.2/libexec/git-core/git-svn line 25.
BEGIN failed--compilation aborted at /usr/local/Cellar/git/1.9.2/libexec/git-core/git-svn line 25.
  • あ、brew upgradeしてなかった・・・
    • いや、もしかしてそこまでしなくていいのかもしれないけど、まあ面倒なのでOSバージョンアップと合わせて、upgradeしとくということで
$ svn --version
svn, version 1.7.17 (r1591372)
   compiled Sep 18 2014, 13:06:44

$ git --version
git version 1.9.2

$ brew update
$ brew upgrade

$ svn --version
svn, version 1.7.17 (r1591372)
   compiled Sep 18 2014, 13:06:44

Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

$ git --version
git version 2.2.2

って、なりました 。

  • で、git svn fetch出来るようになりました。
    • めでたしめでたし。