我正在重构位于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提交时,这是我得到的:
这不是提交的一部分;此举的双方必须共同努力
移动/重命名文件时,必须提交包含旧路径和新路径的父文件夹。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句