Lost .svn/format, what to do?

2019-09-14 09:02发布

问题:

I'm running a project in subversion. I was having a problem commiting, one of the folders was giving a 'is missing or not locked' error, so following the advice I could find I deleted the folder locally, did a clean up and tried to update. This did not work. After some more tries I though it's easier to revert to a working version.

However, when I tried that I got the following error:

svn: Cannot read from '/homes/ndeklein/workspace/MS/.svn/format': /homes/ndeklein/workspace/MS/.svn/format (No such file or directory)

I checked .svn and indeed it does not have a format file or directory. My svn project now can't revert, update or commit. Is it possible to remake the format file or directory?