Recently we moved our svn repositories from one URL to other. I don’t remember exactly what happened, but we started to get error
whenever we try to take lock or release any lock from on any file in that repository. I have tried a hell lot to solve this problem, but I was not able to solve it in a clean manner.
So I have decided to take reset all the locks and asked on StackOverflow to help me. I received answer from Ben Blank and I followed his advise. I have manually release all locks from repository by Deleting <root>/db/locks folder. And all the locks were reset again.
Caution : Make sure you take backup of your repositories before doing such things.