在Eclipse中更改了SVN Repo

时间:2015-02-25 10:15:49

标签: eclipse svn

我正在重构我的代码,该代码存放在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

1 个答案:

答案 0 :(得分:1)

  

我还重命名/移动了不同目录中的一些现有文件。

     

...............................

     

当我尝试通过Tortoise SVN提交时,这就是我得到的:

     

这不是提交的一部分;必须致力于此举的双方   一起

移动/重命名文件时,必须提交包含旧路径和新路径的父文件夹。