Support for recursive directories in global ignore pattern in TortoiseSVN settings

12 views
Skip to first unread message

Wout de Zeeuw

unread,
Dec 18, 2025, 12:10:07 PM12/18/25
to TortoiseSVN-dev
Hi,

I have a requirement to ignore e.g. all bin and obj directories, and very importantly all their child directories recursively. I want to easily set this in the client globally, and have no wish to set properties on the subversion repository. Currently this seems to be not possible.

If I just set bin as the pattern, it will ignore just the bin directory itself, and not the files in it.

If I set bin/* as pattern, it will also ignore the files in it, but not all the files in its subdirectories.

In Visual Studio .NET projects, the bin folder structure is often something like this:

bin\Debug\net8.0

And no, I don't want to add this whole thing to the pattern, there will be debug/release, bunch of .net version, it's a whole directory tree. I just want to tell TortoiseSvn to ignore the bin dir and everything in it.

I could sponsor development of this improvement to TortoiseSVN, or if you point me to the code, I can implement it myself.

Best regards,

Wout

Daniel Sahlberg

unread,
Jan 1, 2026, 10:10:45 AMJan 1
to TortoiseSVN-dev
Hi,

The global ignore is a Subversion feature, see for example https://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.ignore.html. I think any change should be done upstream (for example as a patch sent to d...@subversion.apache.org).

That said: Why don't you want to use the svn:ignore property? It seems like more efficient - it would automatically be applied to ALL developers/machines at once. If you want to avoid the hassle of setting it for every new project, you can probably look at the auto-props configuration setting to have Subversion set it automatically for you. Another option is to have a template project that you can import for every new repository / project you create - this is what we do at $dayjob.

Cheers,
Daniel



 
Reply all
Reply to author
Forward
0 new messages