今天遇到SVN 的 repository 被一哥们提交搞坏了,这个目录任何操作都是显示:
E160004: Corrupt node-revision ‘lx-249.0-248.r1186/2192′
无奈在svn server上跑了下
svnadmin verify c:Repositoriesproject
* Verified revision 1183.
* Verified revision 1184.
* Verified revision 1185.
* Verified revision 1186.
svnadmin: E160004: Corrupt node-revision ‘lx-249.0-248.r1186/2192′
svnadmin: E160004: Missing id field in node-rev
确认是1186出了问题,只能revert整个repository到1185,于是先dump:
svnadmin dump c:Repositoriesproject -r 1:1185 >dump1
删掉原来的project,然后再重新load备份的1185版本:
svnadmin load c:Repositoriesproject <dump1
问题解决。
转载请注明:爱开源 » svn E160004