首页 > 技术文章 > svn:重命名文件之后,不允许提交

timeleader 2017-03-13 10:40 原文

1.错误代码

org.apache.subversion.javahl.ClientException: Illegal target for the requested operation
svn: Commit failed (details follow):
svn: Cannot commit 'D:\work\workspace\eclipse\hanLP\data\dictionary\custom\CustomDictionary1.txt' 
because it was moved from 'D:\work\workspace\eclipse\hanLP\data\dictionary\custom\CustomDictionary.txt' 
which is not part of the commit; both sides of the move must be committed together

 

2.解决方法:

  提交文件所属的目录,这样可以提交成功.

推荐阅读