I have some files and folders that i am unable to add to ignore because the option is disabled. Why is this so?
To ignore files in subversion you want to set the svn:ignore property. You can see more here http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html about half way down. svn propset svn:ignore target . svn propedit svn:ignore .
The problem is that the folder is already under version control.
Here's how I fix this type of problem when it comes up:
.settings
folder/trunk/cboon/Project1/
).settings
directory there and delete it.settings
is in conflict, accept the incoming change..settings
back into place and refresh. It should now have a '?' badge, indicating that it's not under controlsvn:ignore
itMost likely, the file has already been added to the ignore list (svn:ignore), has also been added to the repository, and now contains some changes. The ignore list is only used for unversioned files. However, if the file is already in the repository, it has no effect.
Solve the problem by removing the file from the repository, without removing it from your working copy, e.g. svn rm --keep-local .settings
.
"You can use svn:ignore property only for unversioned resources, if resource is versioned then "Add to svn:ignore" menu is disabled. In order to add resource to ignored, select unversioned resource which you want to ignore, right click and call Team/Add to svn:ignore, then select ignore method."
Taken from discussion here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With