svn : Can not Parse lock / entries hashfile
Whenever I am trying to lock or unlock any file in the project it gives me error :
svn : Can not Parse lock / entries hashfile
Now I am not able to take lock on file.
Some clues : 1. We have just migrated our s开发者_如何学编程vn repositories from one url to other url
Is there any way I can reset the lock file of repository.
It is possible your repository was damaged in the migration (though check the working copy first, as Bert suggests — never mess with your repo's innards unless you have no other choice). If so, you can "manually expire" all locks on the repository by deleting the <root>/db/locks
folder.
This will not affect your repo's contents, but will destroy all lock data. Also be aware that, if your repo's lock data got corrupted, it's entirely possible that other data did as well. Keep the pre-migration backups around.
This sounds like a corrupted working copy. (Missing/corrupted files in the .svn subdirectory of your project).
I would recommend verifying the issue with another subversionclient (E.g. TortoiseSVN or the svn client), and then checking out a new working copy.
精彩评论