git svn rebase: Incomplete data: Delta source ended unexpectedly

前端 未结 5 1429
你的背包
你的背包 2021-01-04 07:22

I have been maintaining the git mirror of the watir project. Some time a couple weeks ago, we had someone ready to submit their first git-based patch. Unfortunately, we ra

5条回答
  •  失恋的感觉
    2021-01-04 07:44

    I've seen a similar problem. It occurs when I do a partial clone of an svn repo. I'm guess git-svn can't find the original source of the file when doing a dcommit. I've fixed it by ensuring I'm completely up to date (git svn rebase) then using git svn set-tree to commit specific changes to subversion. If you have a lot of changes to commit, this can be a pain since you need to manually commit each change in order but it works well if you only have one or two commits to push.

提交回复
热议问题