SVN没法提交涌现 Can't set file "/db/txn_current" read-writ
SVN没法提交 Can't set file "/db/txn_current" read-write :拒绝访问
缘由:
在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背面加回车!
谢谢浏览,但愿能帮忙到大家,感谢大家对本站的支撑!
热门标签:dede模板 / destoon模板 / dedecms模版 / 织梦模板