svn commit problem, Cannot read 'd:\\UC\\db\\txn-current': End of file found

£可爱£侵袭症+ 提交于 2019-12-03 09:11:30

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

L Raj

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
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!