We are using visual svn 2.1.4. It is working on vmware virtual windows 7 on unbuntu linux box. Unfortunately, our electricity infrastructure has a big problem, the electric generator is not activated whenever the electric goes off. Well, this situation is not causing too much problem when our vmware is running on windows box.. But we have changed operating system to linux, it begun to cause problems.. Some files at vmware windows 7 are corrupted..
REPORT of '/svn/ttnetquestuswar/!svn/vcc/default': Could not read chunk size:
We get the above message from svn client, whenever we try to update..
Solution :
1. Stop visual svn server.
2. Backup your repository . You can copy your svn repository to another directory.
3. You should point crashed revision. You can use svnadmin verify
4. You should dump all revisions until the problematic revision (suppose that it is 1000) with this command ; svnadmin dump -r 1:999
5. You should also dump all revisions after the problematic one with this command (suppose the last revision is 2000) ; svnadmin dump --incremental -r 1001:2000
6. Rename your old repository directory..
7. Create a new repository with the same name..
8. Load all changes to the brand new repository with these commands :
svnadmin load
svnadmin load
9. Check your repository with svn verify..
10. Start your visual svn server..