`

svn删除文件时:Item “” is out of date

 
阅读更多
    Item is out of date
svn: Commit failed (details follow):
svn: Item '/banksystem/Mmoney/trunk/src/tpme/MEBS/timebargain/tradeweb/dao' is out of date
遇到这个错误原因是本地的资源文件版本不是服务器上面最新的版本,因此修改本地文件再提交时候,就会报Out of date错误。

解决办法,修改文件时候一定要首先保证和服务器一致,再做修改;而此时 需要先将本地文件还原(记着备份哦),再更新和服务器一致后再做修改。

http://stackoverflow.com/questions/2805546/svn-item-folder-is-out-of-date

Whenever you see "out of date" in an error message it means that the revision of the item in the repository is newer than the copy in your local working copy.
The solution is always going to be to run an update, so that your working copy is up to date with the repository, and then do the commit again (assuming that the update did not generate any conflicts).

For files, this is usually pretty easy to understand how and why this happens. However, Subversion also versions folders, and it is usually with folders that this problem most often happens.
Subversion does not allow you to delete/rename a folder OR change its versioned properties, UNLESS the local copy of the folder is at the HEAD revision of the folder in the repository.

Your next question might be:
"OK, I can maybe understand that, but why is my folder out of date? I am the only person working in this repository."

That is a valid question, the answer lies in the way that Subversion works.
When you commit a change to a file, the revision of the file in your working copy is updated to that new revision when the commit completes, however the version of the parent folder(s) of that file is not updated.
This is because there may have been adds/deletes to other files in that folder and until you have run an update, the folder is not really at that new revision.
This is called "mixed revision working copies".

In summary, the answer is always to do an update so that the folder or file is updated to its HEAD revision.
分享到:
评论

相关推荐

    myeclise10 svn: E210004: Number is larger than maximum 解决方案

    myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题

    myeclise10之svn:E210004错误解决

    myeclise10 svn: E210004: Number is larger than maximum 解决方案 专门解决win7 64位操作系统 下svn插件问题。 下载文件包括: site-1.8.22.zip --->svn离线安装包 Slik-Subversion-1.8.9-x64 --->问题修复必选...

    svn: This client is too old to work with

    项目中使用的是1.4.7,作为...Change the format of a Subversion working copy to that of SVN_VERSION. --skip-unknown-format : skip directories with unknown working copy format and continue the update

    SVN_commit错误分析经验共享

    1. 文件冲突:当两个或多个用户同时修改了同一份文件的同一部分时,SVN会在提交时报告冲突。解决冲突通常需要手动合并代码,可以使用`svn resolve`命令标记已解决的冲突,并重新提交。 2. 未更新的工作副本:在提交...

    svn 删除文件 update 又出来了 怎么回事

    当你使用`svn delete`命令删除一个文件时,这只是将删除操作标记在了你的本地工作副本上,并没有立即影响到仓库中的版本。当你执行`svn update`,系统会将仓库的最新状态与你的本地副本同步,如果仓库中该文件还未被...

    解决SVN上传提示Empty directoriesis not supported

    解决SVN上传提示Empty directoriesis not supported 解决SVN上传提示Empty directoriesis not supported

    RapidSVN:轻量级、可视化SVN客户端RapidSVN-0.13.0.8249-PortableSoft

    除了基本功能外,RapidSVN还支持一些高级特性,例如通过SSL/TLS加密连接保证数据安全,以及与其他SVN客户端(如TortoiseSVN)的兼容性,确保用户在不同的工具间切换时仍能保持一致性。此外,它还允许用户自定义...

    SVN常见的错误及解决方法

    当两个用户同时修改同一份文件时,可能会出现冲突。解决冲突通常需要手动编辑冲突文件,解决冲突后提交。 10. **文件或目录被锁定** SVN有时会锁定文件以防止并发修改,如果在未解锁的情况下尝试修改,会报错。...

    SVN各种错误提示产生原因及处理方法大全

    SVN命令提示:“The version of your Subversion (client) is below 1.5.0, upgrade to 1.5.0 or above. SVN below 1.5.0 cannot handle merge info properly. It can mess up our automated merge tracking!” **...

    sqlite3.exe

    在SVN cleanup出现以下错误时,可以按以下步骤解决 svn: E155009: Failed to run the WC DB work queue associated with 'XXXXXX', work item 93417 (sync-file-flags 64 XXXXXX) svn: E720003: Can't set file '...

    批量 删除SVN文件

    批量删除SVN文件这个话题涉及到的是如何有效地管理SVN工作副本中的文件,尤其是当需要一次性移除大量与SVN关联的文件时。 首先,我们需要了解SVN的工作原理。SVN在本地工作副本中创建了一个隐藏的`.svn`文件夹,...

    删除SVN隐藏文件

    它们对于SVN的正常运作至关重要,但在某些情况下,比如不再需要SVN管理或者想要干净地重置工作副本时,删除这些文件是有必要的。 手动删除SVN隐藏文件的方法是通过文件资源管理器,打开“查看”选项卡,勾选“隐藏...

    SVN仓库彻底删除文件工具

    使用本图形化工具帮助你将这些文件彻底地从svn中删除。 先导出svn仓库 svnadmin dump /home/svn/xx > svn.dump 使用本工具过滤掉需要删除的文件 重新创建仓库并导入 svnadmin create /home/svn/xx_new svnadmin...

    去掉.svn文件

    3. **清理.svn文件**:在不再需要Subversion控制的项目中,可能希望删除这些.svn文件,以减小项目大小,或者当项目不再使用Subversion时避免混淆。 4. **手动删除**:可以通过Windows资源管理器或者在命令行中使用`...

    用来删除SVN文件

    用来删除SVN文件用来删除SVN文件用来删除SVN文件用来删除SVN文件

    .svn 文件递归删除

    对项目中的 .svn 文件递归删除 def walk(path): for item in os.listdir(path): subpath = os.path.join(path, item); mode = os.stat(subpath)[stat.ST_MODE]; if stat.S_ISDIR(mode): if item==".svn": ...

    如何删除SVN连接,即工程下的所有.svn文件

    标题 "如何删除SVN连接,即工程下的所有.svn文件" 涉及到的是在软件版本控制系统Subversion(简称SVN)中的操作,主要针对的是如何清理项目中不再需要的SVN元数据。SVN在管理源代码时,会在每个文件夹和文件下创建...

    SVN属性配置:必须输入日志/日志模版

    SVN允许用户为每个文件或目录设置特定的属性,这些属性可以控制提交行为,比如强制用户在提交时必须提供有意义的日志消息。 在SVN中,`svn:log`属性是用于存储提交日志的,当用户执行`svn commit`命令时,系统会...

    SVN插件 (版本:1.0.6)

    当多人同时修改同一文件时,可能会发生冲突。SVN会标识出有冲突的文件,开发者需要手动解决这些冲突,可以选择接受一方的更改,或者手动合并双方的改动。 6. **权限管理**: SVN服务器可以设置用户和组的权限,...

Global site tag (gtag.js) - Google Analytics