How to Remove a Folder From Committing in SVN (Eclipse)

Deadly 提交于 2019-12-07 10:57:10

问题


I know I might get slammed for this question, but I have looked at previous SO questions and have not found my answer.

I am using SpringLoops to host my SVN version control. I am using Subclipse an SVN plugin for Eclipse.

When I right click my project's root folder and do Team -> Commit I do not want to include the bin folder to that committ. Yes, I have previously committed it, and according to this question: Subclipse svn:ignore I have to delete it from my repository first. I am not sure what this exactly means. I cannot delete from the Springloops website, and inside Eclipse when I delete the bin folder it just is automatically recreated (of course).

How can I remove the bin folder from my commits?


回答1:


I figured this out. I am an idiot. To save people future headaches, you need to go to the SVN Repository view in Eclipse (the top right hand corner by default, where it says Java, Debug etc. Delete it from THERE, then "update to head" and then you can right click and add to SVN:ignore. Then, this change should be committed.




回答2:


In you self answer, your are not really deleting the file/folder. In SVN, you have to commit the deletion. Depending on what version of SVN, Eclipse, SVNKit etc. you have it might be tricky or buggy via the GUI though.



来源:https://stackoverflow.com/questions/15045140/how-to-remove-a-folder-from-committing-in-svn-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!