简体   繁体   English

Eclipse团队同步视图:如何删除传出更改中的未版本化项目?

[英]Eclipse Team Synchronizing View: How to remove unversioned items in outgoing changes?

While viewing the outgoing changes in Eclipse Team Synchronization(Subclipse), I am able to see the unversioned files also, like the generated class files, build folders, etc, which I do not want to see in this view. 在查看Eclipse Team Synchronization(Subclipse)中的传出更改时,我还可以看到未版本控制的文件,如生成的类文件,构建文件夹等,我不希望在此视图中看到这些文件。 I dont want to add it to svn:ignore, since I have to do it manually for all the additional folders generated. 我不想将它添加到svn:ignore,因为我必须手动为生成的所有其他文件夹执行此操作。

Is there any setting to change this to show only versioned files in this mode always? 是否有任何设置可以更改此设置以始终仅显示此模式下的版本化文件? Tortoise SVN client shows this option while committing, to show only versioned files. Tortoise SVN客户端在提交时显示此选项,仅显示版本化文件。 I am looking for such an option in Subclipse Team Synchronization view. 我在Subclipse团队同步视图中寻找这样的选项。 Thanks in advance. 提前致谢。

eclipse_outgoing_view eclipse_outgoing_view

You should svn:ignore build folders. 应该 svn:忽略构建文件夹。 Otherwise it's only a question of time until you or your colleague checks in the build folder 否则,在您或您的同事签入构建文件夹之前,这只是一个时间问题

You should use svn:ignore, and note that once you do for a folder, all child folders are automatically ignored. 您应该使用svn:ignore,并注意一旦您对文件夹执行操作,将自动忽略所有子文件夹。 In your example, if the build folder were ignored then everything inside it would automatically be ignored. 在您的示例中,如果忽略构建文件夹,则会自动忽略其中的所有内容。 It looks like your build folder has already been added to repository though, so maybe you can ignore the dist folder inside bin. 看起来您的构建文件夹已经添加到存储库中了,所以也许您可以忽略bin中的dist文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM