svn:Item is out of date
来源:互联网 发布:淘宝代码需要修改热点 编辑:程序博客网 时间:2024/04/29 19:58
svn:Item is out of date
svn: Item is out of date
使用Svn提交时候遇到如下错误:
Deleting E:/bdf-d7/bdf-dorado7/src/com/bstek/bdf/d7/cms/dir
Item is out of date
svn: Commit failed (details follow):
svn: Item '/trunk/bdf-dorado7/src/com/bstek/bdf/d7/cms/dir' 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.
- svn: Item is out of date
- svn:Item is out of date
- svn: Item <folder> is out of date
- svn : Item is out of date 解决办法
- svn item is out of date
- svn : Item is out of date 解决办法
- svn删除目录后提交显示Item 'XXXX' is out of date解决方法
- svn Transaction is out of date
- SVN:File '/*.java' is out of date
- svn: Directory 'xx' is out of date
- svn的is out of date
- svn: Commit failed: svn: File '' is out of date
- svn out of date
- svn out of date
- svn 提交的时候 Transaction is out of date
- SVN Commit Failed Transaction is out of date问题
- svn同步异常Transaction is out of date
- svn提交out of date
- 【转】段誉王语嫣井底深情表白(不同作家风格改写版)
- 在windows环境下使用常用的linux shell 命令
- 项目问题的思考之策略模式
- JDK-Map源码浅析——IdentityHashMap
- Spring中jdbcTemplate的用法实例(一)
- svn:Item is out of date
- 关于setTimeout在GM
- Tiny210-----LED依次闪烁
- java FileDescriptor 的sync
- cJson库的使用
- hdu 4160 Dolls 二分图最小路径覆盖
- 如何打开1433端口的解决方法
- C++11新特性
- 查看一个表中总共有多少条记录