对于这个 SCM 错误我该怎么办?

发布于 2024-10-10 11:40:33 字数 277 浏览 0 评论 0原文

错误:200009(请求的操作目标非法)说明:提交失败(详细信息如下): 错误:200009(请求的操作的目标非法)说明:“/Users/mine/Documents/Projects/MyApp/trunk/Resources/Settings.bundle/zh-Hans.lproj”不受版本控制,也不属于提交,但其子项 '/Users/mine/Documents/Projects/MyApp/trunk/Resources/Settings.bundle/zh-Hans.lproj/Root.strings' 是提交的一部分

Error: 200009 (Illegal target for the requested operation) Description: Commit failed (details follow):
Error: 200009 (Illegal target for the requested operation) Description: '/Users/mine/Documents/Projects/MyApp/trunk/Resources/Settings.bundle/zh-Hans.lproj' is not under version control and is not part of the commit, yet its child '/Users/mine/Documents/Projects/MyApp/trunk/Resources/Settings.bundle/zh-Hans.lproj/Root.strings' is part of the commit

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

琉璃繁缕 2024-10-17 11:40:33

我假设您正在使用 Subversion。这可能适用于其他情况,但术语可能是错误的。

看起来你的树的一部分要么被复制了一些东西,这些东西存储了隐藏的文件夹,该文件夹将文件夹标记为处于修订控制之下。

最好的办法是再次将树签入不同的文件夹,如下所示:

svn co file:///Users/mine/Documents/Projects/MyApp/trunk freshTrunk

然后复制旧目录中的更改,然后提交它们。

一旦您对保存的更改感到满意,请删除旧目录。

祝你好运。

I'm assuming you are using Subversion. This might sort of apply in other cases but the terminology might be wrong.

It seems like part of your tree either got something copied over it which hosed the hidden folder which marks a folder as being under revision control.

The best thing to do is check the tree out again into a different folder with something like:

svn co file:///Users/mine/Documents/Projects/MyApp/trunk freshTrunk

then copy over changes from the old directory, and commit them.

Once you are satisifed the changes were saved, delete the old directory.

Good luck.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文