Subclipse svn:ignore

后端 未结 12 2185
慢半拍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:16

    You can't svn:ignore a file that is already commited to repository.

    So you must:

    1. Delete the file from the repository.
    2. Update your project (the working copy) to the head revision.
    3. Recreate the file in Eclipse.
    4. Set svn:ignore on the file via Team->Add to svn:ignore.
    5. Restart eclipse to reflect changes.

    Good luck!

提交回复
热议问题