Remove a file from svn:ignore in CFBuilder

Have you ever added a file to svn:ignore and then immediately screamed "Noooooo! Command Zee!" (Or "Noooooo! Control Zee!" for you Windows folks...) I just did.

SVN:ignore is great for making sure you don't accidentally commit a configuration file containing passwords to your Subversion repository. You can get to it by right-clicking on the file you want to ignore in Eclipse/CFB's Navigator pane, and choosing "Add to svn:ignore..." from the "Team" menu.

Adding files to svn:ignore

This is all well and good until you accidentally ignore a file that you want in your repository. Whoops! Command Z!

Unfortunately, removing files from svn:ignore is not as intuitive. But don't fret, it's still pretty easy.

I am using Subversive for SVN integration in CFB, but I got the tip from someone using Subclipse, so I assume it's only some labels that are different, if anything.

  1. Right click on the project folder, and choose properties.
  2. In the dialog that comes up, choose the item "SVN Info" item in the left pane.
  3. SVN properties will be displayed in the listbox at the bottom-right of the dialog. Find "svn:ignore" and double-click it.
  4. A dialog displays the current value and allows you to edit it. Find the offending line, remove it, and hit the OK button to save your changes.
  5. Your file should now go back to the not-added-to-svn state, and you can commit it at will. If you don't see it, try refreshing the project.

changing the property

in Posted 2010-08-04 09:00

0 responses:

Leave a comment:

Leave this field empty: