在 SVN 中提交时我无法获得最新版本:提交失败

While committing in SVN i can't get the latest version : Commit failed

我在点击 SVN Commit 后遇到了这个错误:

Error: Commit failed (details follow):  

Error: File or directory 'alerts\ALT_602_NewAlert.java' is out of date; try updating  

PS:更新问题 ==> 更新后:

在进行更新和新提交后,我也得到了这个 'text status':

正如原始消息所建议的,SVN 中是您尝试签入的文件的更新版本,因此您必须先 svn update

关于您在第二次尝试时遇到的错误,在执行 svn update 时您应该已经阅读了命令的输出。它告诉你有冲突。您必须先解决这些冲突,然后才能提交。您可以在此处阅读有关解决 SVN 冲突的更多信息:http://svnbook.red-bean.com/en/1.8/svn.tour.cycle.html#svn.tour.cycle.resolve