Take the 2-minute tour ×

I am trying to ignore some files that I have already committed to the repository in subclipse

I followed this from Subclipse svn:ignore

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

So you must:

  1. Delete it from the repository
  2. Recreate it in Eclipse
  3. Set svn:ignore on it via Team->Add to svn:ignore

I am still getting a greyed out menu when I select Team->Add to svn:ignore

  1. I deleted the folder I don't want from the repository
  2. I reverted the project Team->Revert (this is the bit I may have done wrong)
  3. selected Team->Add to svn:ignore but it is greyed out.

what do I need to do?

share|improve this question
I'd say instead of reverting, you need to commit the change. –  Pekka 웃 Jun 11 '10 at 12:05
but I deleted the files from the repository not eclipse. –  jax Jun 11 '10 at 12:06

1 Answer 1

up vote 2 down vote accepted

You probably need to Update from svn, rather than reverting, to pull in the changes that you made in the repository.

Revert in Subversion just re-syncs your working copy with the server, at the version you had previously checked out. If you made the change elsewhere, you need to update your working copy to point to the newer version on the server: that's the update operation.

share|improve this answer
Do you know what this is called in subclipse? Nothing like 'Update from svn' is found in the menu. –  jax Jun 11 '10 at 12:17
According to the page at ibm.com/developerworks/opensource/library/os-ecl-subversion, there should be a "Team > Update" option. –  Andy Mortimer Jun 11 '10 at 12:36
Got it, 'Team->Switch to another Branch/Tag/Revision' then select the trunk. –  jax Jun 11 '10 at 12:39
Actually there is an item that says 'Update to Head' maybe that does the same thing –  jax Jun 11 '10 at 12:40

Your Answer


