JackAce
JackAce

Reputation: 41

How can I get the Ignore Pattern in TortoiseSVN (v1.6.13) to work properly with Visual Studio (C#) files?

Using the UI I have set my Global Ignore Pattern to

*.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user bin Bin obj 
Obj Debug Release

but it doesn't appear to do anything.

All *.user and *.suo files show up with the blue question mark overlay. If I right-click the file and click TortoiseSVN | Add to ignore list | *.user, then yes, the files are ignored, but only for the folder where I make the change.

I even tried editing the AppData\Roaming\Subversion\config file (you can pull it up by clicking the "Edit" button in the Settings window) with the following line (line wrap included for clarity):

global-ignores = *.suo *.user *.ReSharper.* *ReSharper* *.5.1.ReSharper.user 
bin Bin obj Obj Debug Release

but I haven't had any luck.

And yes, I have rebooted several times.

Has anyone out there experienced this same problem and found a solution to the issue? Is there something glaring that I am missing?

Upvotes: 3

Views: 1266

Answers (1)

yvoyer
yvoyer

Reputation: 7516

svn:Ignore property only works on files that are not versioned.

If the files you want to ignore are in the repository, you will have to delete them, and only then, will they be ignored.

svn:ignore

Upvotes: 3

Related Questions