SVN无法读取cruuent修复方法 Can't read file : End of file found 文件:txn_current、current

原因:
在commit文件时,svn服务器被强行关闭了,导致版本信息文件写入不成功,重启后读取信息就不正确了!


解决办法:
重新将正确的版本信息写入到current、txn-current文件。

1.明确版本号(建议回滚一个版本,例如300,取299,以防最新的commit内容也不正常)
并删除最新版本(\Repositories\ProjectName\db\revprops\X)
2.更新txn-current
3.更新current
4.从svn服务器上刷新文件夹,能够阅览版本库证明问题已解决。

附录:
了解文件作用
repository/db/current  -- 记录当前最新版本号
repository/db/txn-current  -- 记录版本库中版本信息存放文件夹,例如E:\Repositories\AnyWellSourceCode\db\revprops\0,当前值就是0,编辑时,必须在0后面加回车!

原文地址:https://www.cnblogs.com/vegaliming/p/2478351.html