Although I have told TortoiseSVN to ignore *.avi and *.exe files, when I commit, TortoiseSVN still wants to commit those files.
If you are using TortoiseSVN, right-click on a file and then select TortoiseSVN / Add to ignore list. This will add the file/wildcard to the svn:ignore property. You can find this list in the context menu at TortoiseSVN / Properties.
As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.
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 .
Right click the any folder and choose TortoiseSVN -> Repo Browser. Then point to your local repository in the URL field. Once open you could be able to browse the repo, and with a right click, delete the folder.
Recently I ran into same problem and I found an article on svn enhancements where someone mentioned that error message (file cannot be added to ignore list) is not user friendly as it does not give you more information on why the file could not be added to the ignore list.
The file I was trying to add to the ignore list was not stored under a versioned folder. And interestingly, SVN is expecting the file-to-be-ignored stored under a versioned folder.
I simply ignored the entire folder (bin & obj in my case) and Tortoise SVN happily accepted it.
Here's another answer.
Open the svn properties for the parent folder and it should have an svn:ignore property listed. Edit that by adding your directory to ignore.
But watch out for the PROPPATCH error SVN: Error setting property 'log': Could not execute PROPPATCH
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