svn: 项目<文件夹>已经过时了文件夹>
[赏金系统违背我的意愿自动选择的答案]
我正在使用 subclipse,并且总是在删除 Eclipse 中的文件夹并尝试提交它时,出现以下错误:
svn: Item <folder> is out of date
svn: DELETE of <folder>: 409 Conflict (http://myintranet)
通过命令行删除和提交工作正常,但出了什么问题通过 subclipse 来做吗?还有人遇到这个问题吗?
(我在 Ubuntu 9.10 和 10.04;上一个 Eclipse 版本;以及 subclipse 1.4 中遇到了这个问题 - 因为 subclipse 的下一个版本有更多错误)
--更新: 当我删除文件夹而不是文件时
[answer auto-selected by bounty system against my will]
I'm using subclipse, and always when delete a folder in Eclipse, and try to commit it, the following errors raise:
svn: Item <folder> is out of date
svn: DELETE of <folder>: 409 Conflict (http://myintranet)
Deleting and commiting via command line works fine, but what's wrong with doing it via subclipse? Is anyone more experiencing this problem?
(I experienced this problem in Ubuntu 9.10 and 10.04; last Eclipse version; and subclipse 1.4 - as the next versions of subclipse have much more bugs)
--updated: Its when I delete folders, not files
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
我想如果你在那之前更新它应该有效..它确实对我有用
i think if you UPDATE before that it should work.. it did work for me
有一个简单的解决方案,无需安装一些额外的软件。我也遇到了这个“问题”,您可以执行以下操作:
这解决了我的问题,因为更新仅检索了我删除的文件。
There's a simple solution without installing some extra software. I also had this "problem" and what you can do is the following:
That solved the problem in my case, as updating only retrieved the files I deleted.
Subclipse有很多这样的问题。 90% 的情况下它都能工作,然后就无法正常工作了!我正在使用 subclipse,因为它很好地集成到 eclipse 中,当我遇到问题或在 svn 中需要一些更大的动作(例如合并某些分支)时,我使用 Tortoisse。
我有像你这样的目录。然后我就像 @luiscolorado 建议的那样运行 TortoiseSVN,它很有帮助。 Tortoise 是一个很棒的工具(它有很多很棒的功能,可以用于比较、应用补丁、获取补丁等)。
今天,当我删除一个文件,而有人更改了同一个文件时,我遇到了问题!然后 subclipse 显示冲突(到目前为止一切正常),所以我想恢复!但是恢复按钮丢失了(在冲突模式下消失!)所以我必须进行合并,并且合并不起作用,会引发某种错误。我懒得去阅读(也许我应该阅读并将其作为错误提交给 subclipse 维护者;-(),我知道乌龟会起作用,你知道吗,它起作用了。有一个 REVERT 选项。所以
@Tom Brito,尝试命令行,尝试 Tortoisse,然后你可以查看 subclipse 更改日志并提交错误,我认为 subclipse 只是忘记向我们显示一些目录更改和更新(或者它被设计为不这样做?),但是。我可能错了。
Subclipse has many problems like this. It works 90% of time, and then it just DOES NOT work as it should! I am using subclipse, since it is very well integrated into eclipse, and when I have problem or some bigger moves needed in svn (like merging some branch) I use Tortoisse.
I had the thing with directory like you. Then I just run the TortoiseSVN like @luiscolorado suggests, and it helped. Tortoise is so great tool (it has many great features for diffing, applying patches, getting patches and so on.).
Today I had a problem when I have removed a file, and someone had changed the same file! Then subclipse shows conflict (up to this point everything is ok), so I wanted to revert! But then the revert button is missing (disappears when inconflict mode!) so I have to do merge, and merge does not work, throws some kind of error. I didn't bother to read (maybe I should read and file it as a bug to subclipse maintainers ;-(), I knew the tortoisse will work, and you know what, it worked. There was a REVERT option.
So @Tom Brito, try command line, try Tortoisse, and then you can look at the subclipse changelog and file a bug. I think that subclipse just forgets to show us some directory changes and updates (or it is designed not to do it?), but I may be wrong.
Tom,
您可能想尝试 TortoiseSVN,并手动更新项目工作区。在硬盘中找到项目目录的位置,然后尝试使用 TortoiseSVN(如果您愿意,也可以使用命令行)进行更新。
导致此问题的一个常见原因是在没有“通知”SVN 的情况下删除了目录。例如,如果您使用操作系统而不是使用SVN手动删除目录,就会出现此问题。
如果您在安装 subversion 插件之前删除了该目录,但该项目已存在于存储库中,您将遇到此问题。在这种情况下,解决方案是重新创建目录、更新/提交,然后再次删除该目录。
祝你好运。
Tom,
You might want to try TortoiseSVN, and manually update the project workspace. Find the location of your project directory in your hard drive, and then try TortoiseSVN (or the command line if it's your preference) to do the update.
A frequent cause of this problem is to delete the directory without "informing" SVN. For instance, if you manually delete the directory using the operating system instead of using SVN, you will have this problem.
If you removed the directory before you installed the subversion plug-in, but the project already existed in the repository, you will experiment this problem. A solution, in this case, would be to recreate the directory, updating/committing, and then delete again the directory.
Good luck.
我的解决方案是
也许有点麻烦,但它总是有效
My solution to this was
A bit cumbersome, maybe, but it always works
在相同情况下唯一的工作方式是通过命令行。子剪辑仍然不完美..
The only working way in same cases is via command line. The subclipse is still not perfect..
Subclipse 常见问题解答 是否解决了这个问题?
关于“混合修订工作副本”:
(这就是为什么,我相信,您无法在删除文件夹的后续提交中重现“过时”消息:您的更新确实解决“混合修订”状态。)
Isn't that addressed by the Subclipse FAQ?
About "Mixed Revision Working Copies":
(and that is why, I believe, you cannot reproduce your "out of date" message on subsequent commits with folder deleted: your update did solve the "mixed revision" state.)