无法读取块大小.SVN中的错误 [英] Could not read chunk size. Error in SVN
问题描述
我已经从崩溃的 PC 中恢复了 SVN 存储库,现在我可以从几个目录中检出文件,但在检出时在一个地方它说:
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 '/svn/RepTest/!svn/vcc/default': Could not read chunk size:
Secure connection truncated (https://mypc:8443)
谁能帮助我,如何修复该存储库?谢谢!
Could anyone help me, how to fix that repository? Thanks!
推荐答案
我刚刚在尝试将签出更新到最新版本时遇到了同样的错误.一些摆弄表明这是导致问题的一个特定文件.例如:
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
对于上面的 repo 结构,AFileInFolderA.h
是问题文件.我得出这个结论是因为我可以在文件夹 B
和 C
中执行和 svn update
但不能在 root
或文件夹 A
.进一步深入,我可以更新 AnotherFileInFolderA.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.
无论如何,有了这些信息,我从文件夹 A
复制了我的工作副本更改,然后(使用 Tortoise SVN)在根文件夹上做了一个选择性的更新到修订, 从我的结帐中排除文件夹 A
.然后我做了相反的事情,将文件夹重新添加到结帐中.最后,我重新添加了我的本地更改并提交到 repo.现在一切正常.
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.
这篇关于无法读取块大小.SVN中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!