Subclipse svn:ignore

后端 未结 12 2251
慢半拍i
慢半拍i 2020-11-29 15:43

I\'m new to Eclipse. I\'m using subclipse for connecting to my SVN. There are some folders and files I would like to add to svn:ignore, but it\'s grayed out. Is there an e

12条回答
  •  心在旅途
    2020-11-29 16:15

    This is quite frustrating, but it's a containment issue (the .svn folders keep track also of ignored files). Any item that needs to be ignored is to be added to the ignore list of the immediate parent folder.

    So, I had a new sub-folder with a new file in it and wanted to ignore that file but I couldn't do it because the option was grayed out. I solved it by committing the new folder first, which I wanted to (it was a cache folder), and then adding that file to the ignore list (of the newly added folder ;-), having the chance to add a pattern instead of a single file.

提交回复
热议问题