Subversion: Restoring db/current

Today I had a strange issue when I was trying to update a working copy of my Subversion repository. The /db/current file was missing for some reason and therefore any subversion related operation was not possible. After querying Google I found a blog post, that offered a very simple solution without restoring from a backup:

svnadmin recover <PathToRepo>

The command took a while, but when it finished the current file was recreated and my repository was intact. I have to mention that this is only working for repositories with version 1.5 and above.


Kick It auf dotnet-kicks.de

Leave a Reply

Your email address will not be published.


*