git svn dcommit fails because of assertion error “svn_fspath__is_canonical(child_fspath)” (cygwin)

前端 未结 9 1876
孤城傲影
孤城傲影 2020-12-28 17:36

I hope anybody can help me.

When I try to push my local git branch to the svn server this will always result into this error:

$ git svn dcommit
Comm         


        
9条回答
  •  余生分开走
    2020-12-28 18:19

    An easy way to install patched version of git-svn from github:

    1. Find the buggy script:

      find /usr -name Editor.pm
      
    2. Replace it with patched version:

      cd /usr/lib/perl5/vendor_perl/5.18.1/Git/SVN
      mv Editor.pm Editor.pm.bak
      wget https://raw.github.com/git/git/2394e94e831991348688831a384b088a424c7ace/perl/Git/SVN/Editor.pm
      

提交回复
热议问题