svn: E200009: Commit failed (details follow)/both sides of the move must be committed together的解决办法
今天在提交SVN的时候发生了如下错误,分析了一下原因,试了好几次才找到解决方法,失败原因如下:
svn: E200009: Commit failed (details follow):
svn: E200009: Cannot commit 'G:\jiaoyu\src\main\resources\templates\www\xgwy\company\company_content.html' because it was moved from 'G:\jiaoyu\src\main\resources\templates\www\xgwy\company_content.html' which is not part of the commit; both sides of the move must be committed together
svn: E200009: Commit failed (details follow):
svn: E200009: Cannot commit 'F:\jiaoyu\src\main\resources\templates\www\xgwy\company\house.html' because it was moved from 'F:\jiaoyu\src\main\resources\templates\www\xgwy\house.html' which is not part of the commit; both sides of the move must be committed together
解决办法,同时提交新旧文件,应该是显示一个删除行为、一个添加行为。
另外,如果重命名后文件名的差别只有大小写不同,还是不能提交的,要先改成其他文件名,提交后再重新重命名,再提交一次