svn: Directory is out of date Item is out of date 错误最简单的解决方法

使用SVN在上传文件时,因为删除了向个文件,而删除后,没有及时上传,在我上传时,已经有同事上传了文件,我再上传时就报了以下错误:

org.apache.subversion.javahl.ClientException: Working copy is not up-to-date
svn: Commit failed (details follow):
svn: Directory 'D:\Eclipse-Workspace\' is out of date
Item is out of date
svn: Directory '/core/util' is out of date

org.apache.subversion.javahl.ClientException: Working copy is not up-to-date
svn: Commit failed (details follow):
svn: Directory '\core\util' is out of date
Item is out of date
svn: Directory '/core/util' is out of date

  在网上查了一下,好像都是要回滚,再更新,再更改删除。。。。。。

太麻烦了。。。我想了一下,主要是版本号不一致,既然如此就更新到最新版本再上传就好了。。。

步骤如下:

1、选择父工程(如果 是单项目就选择单项目),右击—》Team –>update to Version….

 

 2、去掉 update to HEAD revision 的选项(其实也可以不用做这一步,因为默认就是最新的版本号)

3、确定

 

4、重新上传文件 。。。。

转自:svn: Directory is out of date Item is out of date 错误最简单的解决方法_ckinghan58的博客-CSDN博客

 

posted @ 2022-07-27 09:46  信铁寒胜  阅读(615)  评论(0编辑  收藏  举报