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

前端 未结 9 1840
孤城傲影
孤城傲影 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:27

    I've managed how to solve this problem w/o downgrading svn. Error msg was like this:

    git svn dcommit
    Committing to http://...
            C       File1.hpp => File2.hpp
    
    ERROR from SVN:
    RA layer request failed: PUT request on '...File2.hpp' failed: 409 Conflict...
    

    then I've rebased just before this commit, removed File1.hpp, made new commit and in next one just added File2.hpp like a new one. After this git svn dcommit wasn't complaining anymore.

提交回复
热议问题