想在SVN上删除损坏的修订版。尝试从5133之后的1-5133转储修订到头部,但是当我想将转储文件导入到以下错误的新仓库中时出现!
svnadmin create /svn/newrepo
svnadmin dump -r1:5132 /svn/oldrepo > /tmp/dumpfile
svnadmin dump --incremental -r5847:HEAD /svn/oldrepo >> /tmp/dumpfile
svnadmin load /svn/newrepo < /tmp/dumpfile
<<< Started new transaction, based on original revision 5850 * editing path : branches/15 ...svnadmin: E160013: File not found: transaction '5134-3ym', path '/branches/15'
您是否拥有脚本或命令让我驾驭损坏的修订版?
FYI:这是损坏的修订列表:
* Error verifying revision 5133.
* Error verifying revision 5134.
* Error verifying revision 5135.
* Error verifying revision 5136.
* Error verifying revision 5137.
* Error verifying revision 5138.
* Error verifying revision 5139.
* Error verifying revision 5140.
* Error verifying revision 5141.
* Error verifying revision 5142.
* Error verifying revision 5143.
* Error verifying revision 5144.
* Error verifying revision 5145.
* Error verifying revision 5146.
* Error verifying revision 5148.
* Error verifying revision 5149.
* Error verifying revision 5150.
* Error verifying revision 5151.
* Error verifying revision 5152.
* Error verifying revision 5153.
* Error verifying revision 5154.
* Error verifying revision 5155.
* Error verifying revision 5156.
* Error verifying revision 5157.
* Error verifying revision 5158.
* Error verifying revision 5160.
* Error verifying revision 5161.
* Error verifying revision 5162.
* Error verifying revision 5163.
* Error verifying revision 5164.
* Error verifying revision 5192.
* Error verifying revision 5193.
* Error verifying revision 5194.
* Error verifying revision 5234.
* Error verifying revision 5235.
* Error verifying revision 5236.
* Error verifying revision 5305.
* Error verifying revision 5317.
* Error verifying revision 5321.
* Error verifying revision 5474.
* Error verifying revision 5531.
* Error verifying revision 5595.
* Error verifying revision 5632.
* Error verifying revision 5681.
* Error verifying revision 5722.
* Error verifying revision 5724.
* Error verifying revision 5820.
* Error verifying revision 5845.
* Error verifying revision 5846.
任何建议?
您不需要删除损坏的修订,您需要将其替换为空白修订。此手动修复是一项复杂的操作,可能需要重新创建存储库并使用svnadmin dump和load来使用占位符“ padding”修订替换损坏的修订。因此,备份还原是最佳的恢复选项。
此错误意味着您还需要用一个空的修订版替换损坏的存储库中的修订版r5850。问题是r5850(我想还有很多其他问题)取决于您删除/替换的多个修订版。因此,无法加载r r5850。<< *编辑路径:分支机构/ 15 ... svnadmin:E160013:找不到文件:事务'5134-3ym',路径'/ branches / 15'