问题
My computer exploded while in the middle of an svn (version 1.8.8) update command. Now svn does nothing just tells me the working copy is corrupt.
svn: E155016 The working copy database at [dir] is corrupt
I have no idea what to do, any suggestions?
回答1:
I solved the issue with a cleanup + revert + update (in that order)
回答2:
Cleanup
Try svn cleanup
in your working copy
http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.cleanup.html
New checkout
Try to make a new checkout to different place. If new checkout works properly, delete the corrupted one and replace it with new checkout.
回答3:
When I removed the complete folder, repeated the checkout I got the same error....
So it seems consistent!
However,I was checking out into . (currentDir)
When I then checkout out into another directory it worked fine!?!?!
So much for transparent misbehaviours.....
Environment
- DISK: NTFS disk mounted into a ubuntu 18.04 guest
- CLIENT: svn, version 1.9.7 (r1800392)
- SERVER: version 1.7.10 (r1485443)
来源:https://stackoverflow.com/questions/34192155/svn-e155016-the-working-copy-database-at-is-corrupt