jax
jax

Reputation: 38573

svn:ignore for a file already committed in subclipse

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?

Upvotes: 2

Views: 4144

Answers (1)

Andy Mortimer
Andy Mortimer

Reputation: 3707

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.

Upvotes: 2

Related Questions