颠覆性项目中的复制文件未连接到项目分支

发布于 2024-12-22 08:45:27 字数 137 浏览 5 评论 0原文

我通过直接从一个项目复制到另一个项目(拖放)将一些新文件从主干迁移到分支。分支项目中的新文件不会被识别为 SVN 的一部分,并且无法提交到存储库。

这种情况只发生在我的非 Java 文件中,它们复制得很好,但 JSP、JS、GIF 等都有问题。

I migrated some new files from trunk to a branch by copying directly from one project to another (drag&drop). New files in branch project aren't recognized as a part of SVN and can't be committed to the repository.

This happens only for my non-Java files, they're copied fine, but JSPs, JSs, GIFs etc all have a problem.

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

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

发布评论

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

评论(1

太阳男子 2024-12-29 08:45:27

好吧,当然这让我很痛苦一段时间了,但答案就在我发布这篇文章时出现了。

Eclipse 没有告诉您的是,当您在项目之间复制文件夹时,隐藏的文件夹也会被复制。这包括包含 svn 数据的 .svn 文件夹。一旦我删除了新创建的文件夹中的那些内容,我的问题就消失了。我只需要找到在 Eclipse 中复制文件和文件夹时忽略 .svn 文件夹的位置即可。

Ok of course this was a pain for a while now, but the answer occurred just as I posted this.

What Eclipse doesn't tell you is when you copy folders between projects, hidden folders are copied as well. This includes .svn folders which contain svn data. Once I got rid of those in my newly created folders, my problems were gone. I just have to find where to ignore .svn folders when copying files and folders in Eclipse.

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