Search code examples
eclipsesvnsubclipse

Subclipse svn:ignore


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 easy way to get subclipse to ignore files and directories?

subclipse


Solution

  • 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!