Could not read chunk size. Error in SVN

后端 未结 7 1980

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 04:09

    I've just had the same error when trying to update a checkout to the latest revision. Some fiddling about revealed that it was one particular file causing the issue. For example:

    root
      - A
        - AFileInFolderA.h
        - AnotherFileInFolderA.h
      - B
        - AFileInFolderB.h
      - C
        - AFileInFolderC.h
    

    With the repo structure above, AFileInFolderA.h was the problem file. I came to this conclusion because I could do and svn update in folders B and C but not on the root or folder A. Drilling down further, I could update AnotherFileInFolderA.h but not the problem one.

    Anyway, with that information in hand I copied my working copy changes from folder A, then (using Tortoise SVN) did a selective Update To Revision on the root folder, excluding folder A from my checkout. I then did the reverse, re-adding the folder to the checkout. Finally I added my local changes back in and committed to the repo. All is now working fine.

    0 讨论(0)
提交回复
热议问题