我重构了位于SVN存储库中的代码,并添加了新文件和更改了现有文件。我还重命名/移动了不同目录中的一些现有文件。现在,由于我在Eclipse中使用SVN插件,我认为该插件可以管理它。不幸的是,现在我无法提交,也不想设置全新的存储库,因为这意味着我会丢失整个历史记录。
这就是我得到的错误:
Some of selected resources were not added to version control. (multiple times)
Some of selected resources were not committed.
svn: E150002: 'C:somePath' is already under version control
(multiple times)
svn: E200009: Commit failed (details follow):
svn: E200009: 'C:path' is not under version control
当我尝试通过Tortoise SVN提交时,我得到的是:
Commit failed (details follow):
Cannot commit 'C:path'
because it was moved to
'C:otherPath'
which is not part of the commit; both sides of the move must be committed
together
我还重命名/移动了不同目录中的一些现有文件。
当我尝试通过Tortoise SVN提交时,我得到的是:
不属于承诺的一部分;双方都必须承诺一起
移动/重命名文件时,必须提交包含旧路径和新路径的父文件夹。