git svn rebase: Incomplete data: Delta source ended unexpectedly

前端 未结 5 1435
你的背包
你的背包 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 08:00

    I had this same problem in trying to create a git repository from the brlcad svn repository. I solved it by doing git svn reset --r XXXXX, where I set XXXXX to be about 50 revisions prior to the one that originally produced the error.

    Stepping back a single revision was not successful in resolving the error. As part of the process, I received errors from git about HEAD not being defined. To resolve this, I did a git svn find-rev XXXXX to determine the hash corresponding to the revision I wanted, then git checkout. After this, the errors about HEAD were gone and the git svn reset -r XXXXX worked.

提交回复
热议问题