svn:重命名文件之后,不允许提交

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.解决方法:

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

posted @ 2015-05-06 10:34  勿妄  阅读(15331)  评论(2编辑  收藏  举报