Could not read chunk size. Error in SVN

后端 未结 7 1981

I have recovered SVN repository from crashed PC and now I can checkout files from few directories but in one place during checkout it says:

Error: REPORT of \'/s         


        
7条回答
  •  孤独总比滥情好
    2021-02-20 03:47

    Yet another answer by someone with the same problem, however with a solution that has not yet been mentioned:

    In my case the problem could not be be pinpointed to a single file. However, it was clearly connected to a single svn revision.

    The solution in such a case is to skip fetching the bad revision. This can be achieved by calling git svn fetch with the -r option. For instance, if r42 is the bad revision, and you have already fetched all revisions up to r41, just do

    git svn fetch -r43
    

    followed by

    git svn fetch
    

    to bring your git repository up to date. Of course, the obvious downside of this approach is the hole in the history that you get, but I think it's better to have a small hole in the history than to do without a working git svn clone.

提交回复
热议问题