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

1.文件改名后,提交不成功。

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

svn: Commit failed (details follow):

svn: Cannot commit ‘D:workworkspaceeclipsehanLPdatadictionarycustomCustomDictionary1.txt‘

because it was moved from ‘D:workworkspaceeclipsehanLPdatadictionarycustomCustomDictionary.txt‘

which is not part of the commit; both sides of the move must be committed together

解决方法:

提交文件目录。

2.提交文件报错。

org.apache.subversion.javahl.ClientException: Transaction is out of date

svn: Commit failed (details follow):

svn: 目录 “/svn/sdj/trunk/java/sdj/src/main/java/com/ada/tech/sdj/ams/service/route” 已经过时

org.apache.subversion.javahl.ClientException: Transaction is out of date

svn: Commit failed (details follow):

svn: 目录 “/svn/sdj/trunk/java/sdj/src/main/java/com/ada/tech/sdj/ams/service/route” 已经过时

解决方案:

这个是由于本地版本与svn上版本不同造成的,更新一下在提交就可以了~

经验分享 程序员 微信小程序 职场和发展