Git svn dcommit not working with "Incomplete data: Delta source ended unexpectedly"

I am working with a remote team using the SVN repository. Mostly due to the high latency that I encountered while accessing the repository, I decided to use git-svn. Everything works fine until I try to execute dcommit.

I have several local commits, and only one of them I want to click on SVN. I did git rebase -i HEAD~4to mark the commit needed for editing. git svn dcommit -nconfirms that this is the only version to be executed.

However, git svn dcommitan error appears on startup

Incomplete data: Delta source ended unexpectedly

from line 572 git-svn, which

if (!SVN::Git::Editor->new(\%ed_opts)->apply_diff) {

I'm not sure that committing through SVN works directly, since it takes several hours to check the repository (even for the part that interests me), so I can try to commit.

Any help is appreciated. Thanks in advance!

+3
source share
2 answers

The end result was a problem with the remote SVN server. I reinitialized my git-svn repository and double-checked my server path, and now everything looks good. IIRC, the problem was HTTP versus HTTPS. that is, I could check the repository over HTTP, but not commit.

+1
source

Based on a bit of googling , the problem also arises in pure SVN.

, SVN git svn --version - , . git.

0

All Articles