在 Eclipse 中更改了 SVN Repo
Changed SVN Repo in Eclipse
我正在重构位于 SVN 存储库中的代码,并且添加了新文件并更改了现有文件。我还在不同目录中 renamed/moved 一些现有文件。现在,因为我在 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
I also renamed/moved some existing files in different directories.
...............................
When I try to commit via Tortoise SVN this is what I get:
which is not part of the commit; both sides of the move must be committed
together
当 moving/renaming 个文件时,您必须提交包含新旧路径的父文件夹。
我正在重构位于 SVN 存储库中的代码,并且添加了新文件并更改了现有文件。我还在不同目录中 renamed/moved 一些现有文件。现在,因为我在 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
I also renamed/moved some existing files in different directories.
...............................
When I try to commit via Tortoise SVN this is what I get:
which is not part of the commit; both sides of the move must be committed together
当 moving/renaming 个文件时,您必须提交包含新旧路径的父文件夹。