SVN: PROPFIND request failed - No Such Revision
One of my Subversion repositories got corrupted today and every single operation started failing, returning an error message: PROPFIND request failed on '/path/to/repo/ No Such Revision 296.
After researching for an hour I could not find anything, nada, nothing at all ... I found a few posts on dumping the data, creating a new repo, importing again ... but like I said, every operation on the repo failed... I couldn't even try those options.
So I chose to backup the repository's file system and fix it myself... I noticed that the error claimed that revision 296 did not exist and indeed, when I opened the db/revs folder it only went up to 295. With a completely wild guess, I opened the /current file and noticed that it had the 296 revision number on it, so I assumed this is the pointer to the latest revision, but the data never made it to the server... I modified the number to 295 and everything immediately started working.
Again, it was a wild guess, but it worked ... Hope this saves someone a few hours.
update: I think I found out how it broke. Someone committed a file that Nod32 caught with a virus; SVN increased the repo version, updated the indexes, and then the antivirus deleted the data...
http://www.robgonda.com/blog/trackback.cfm?B994C61C-A0B6-C557-0FEC5334B87C7D18
i can access the trunk folder but i had created few branches that are not accessible
could you please help.
thanks, Rob
Will
You save my day and my life :)