I have a problem commiting to svn server, Here\'s what I got,
File Can\'t read \'D:\\SVNROOT\\UC\\db\\txn-current\'.: End of file found
db\txn-current
is a file in the repository data on the server which should contain the current revision number if you open it with a text editor.
If this is not the case (as the error message seems to indicate), then you should first try to run svnadmin recover D:\SVNROOT\UC\
on the server.
You should also run svnadmin verify D:\SVNROOT\UC\
to check if there are any other problems with the repository.
Try to do a clean work dir and also delete any lock file in .svn dir in work directory
Also, make sure the permissions on the repository directory are proper
In my case, repository_path/db/current
was blank.
I just write latest revision number in current file and run recovery command.
I.e.,
svnadmin recover repository_path