How to repair damaged repository (which has a centralized .svn directory)?

Can't open file 'C:\svn.svn\pristine\73\73bcc5fa7819f84f56b81dfa0236f0aac7b7d404.svn-base

I just had a similar error and I actually had to make that file with notepad and then cleanup worked.


Instead of creating an empty file (which I did not dare to do), I did a temporary fresh checkout of just the affected directory (specifying the same revision) and copied the missing file from the new .svn subfolder into the broken working directory's one.

In order to further illustrate this, in my case, the file svn complained about was .svn/pristine/d1/d12a84ef7be5dad86b76e1a45fc3da4698d38796.svn-base, which is exactly the path to be found in the fresh, partial checkout.


We had the same problem after upgrading from older version to Tortoise SVN 1.7.7.

Since I found no other solution, I deleted the local working copy and checked it out again. It's working fine now.


I got the issue while I aborted a merge. I couldn't perform any SVN action. On doing an SVN cleanup it gave an error that it cannot find a specified file which lead to cleanup failure.

I created a dummy file with that exact name in the specified folder and did a SVN clean.

Then I was able to proceed.