Illegal target for the requested operation

org.tigris.subversion.javahl.ClientException: Illegal target for the requested operation

svn: Commit failed (details follow):

svn: 'D:\DM\中晟新系统\SVP\WebRoot\images' is not under version control and is not part of the commit, yet its child 'D:\DM\中晟新系统\SVP\WebRoot\images\logo.png' is part of the commit

解决方案:仔细看错误的原文,翻译成中文大致的意思就是要提交的代码不在版本控制之下,并且不是提交的一部分,他的子文件也不是提交的一部分,我自个儿琢磨着就是要先提交父文件夹,然后再提交父文件夹的子文件,然后我先提交了父文件夹,然后提交其中的子文件,最后把问题解决了。

PS:如果上面的方法不行的话,试试看吧要提交的文件先备份一下,然后把源文件删除了,然后再拷回来,再提交。。我这样屡试不爽,能解决问题的

posted @ 2018-09-27 16:00  萧韶九成  阅读(1982)  评论(0编辑  收藏  举报