颠覆性项目中的复制文件未连接到项目分支
我通过直接从一个项目复制到另一个项目(拖放)将一些新文件从主干迁移到分支。分支项目中的新文件不会被识别为 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,当然这让我很痛苦一段时间了,但答案就在我发布这篇文章时出现了。
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.