Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

msysgit broken from 1.7.11?

After updating msysgit to 1.7.11, I get the following error when calling git-svn:

$ git svn rebase
Can't locate Git/SVN/Editor.pm in @INC (@INC contains: /lib 
/usr/lib/perl5/5.8.8/msys
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/msys
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) 
at C:\Program Files\Git/libexec/git-core\git-svn line 81.
BEGIN failed--compilation aborted at C:\Program Files\Git/libexec/git-core\git-svn line 81.

Does anyone else experience this problems?

like image 537
eckes Avatar asked Jul 04 '12 09:07

eckes


1 Answers

Update

Seems like this issue is fixed in the meanwhile. Keeping original answer for reference.


Original answer:

After doing a little research, I found this issue: https://github.com/msysgit/msysgit/issues/32

Obviously the bug is already known.

Meanwhile, I help myself by manually downloading the missing packages:

cd C:/Program\ Files/Git/lib/perl5/site_perl
mkdir -p Git/SVN/Memoize
cd Git/SVN
for i in Editor.pm Fetcher.pm Prompt.pm Ra.pm Memoize/YAML.pm
do
  curl -x $HTTP_PROXY https://raw.github.com/gitster/git/master/perl/Git/SVN/$i > $i
done
like image 52
eckes Avatar answered Oct 06 '22 16:10

eckes