Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN ignore list is not working

Although I have told TortoiseSVN to ignore *.avi and *.exe files, when I commit, TortoiseSVN still wants to commit those files.

like image 420
user2327109 Avatar asked Apr 27 '13 15:04

user2327109


People also ask

Where is svn ignore list?

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.

What does red exclamation mark mean in TortoiseSVN?

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.

How do I ignore target folder in svn?

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 .

How do I delete my TortoiseSVN repository?

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.


2 Answers

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.

like image 92
2 revs, 2 users 77% Avatar answered Oct 10 '22 08:10

2 revs, 2 users 77%


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

like image 31
Adam Avatar answered Oct 10 '22 08:10

Adam