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.提交文件报错。

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上版本不同造成的,更新一下在提交就可以了~ 

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

https://blog.****.net/ud_world/article/details/79247007