Re: Support for recursive directories in global ignore pattern in TortoiseSVN settings
Daniel Sahlberg via TortoiseSVN-dev <[email protected]> Thu, 1 Jan 2026 07:10:45 -0800 (PST)
| Newsgroups | gmane.comp.version-control.subversion.tortoisesvn.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1188964_1158726193.1767280245481 Content-Type: multipart/alternative; boundary="----=_Part_1188965_20039445.1767280245481" ------=_Part_1188965_20039445.1767280245481 Content-Type: text/plain; charset="UTF-8" torsdag 18 december 2025 kl. 18:10:07 UTC+1 skrev [email protected]: 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 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 [email protected]). 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 -- You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/tortoisesvn-dev/fb4c3357-3346-414a-b429-a57529136f6dn%40googlegroups.com. ------=_Part_1188965_20039445.1767280245481 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><div dir=3D"auto">torsdag 18 december 2025 kl. 18:10:07 UTC+1 skrev wo= [email protected]:<br /></div><blockquote style=3D"margin: 0px 0px 0px 0.8ex;= border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi,</d= iv><div><br /></div><div>I have a requirement to ignore e.g. all bin and ob= j 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 po= ssible.</div><div><br /></div><div>If I just set bin as the pattern, it wil= l ignore just the bin directory itself, and not the files in it.</div><div>= <br /></div><div>If I set bin/* as pattern, it will also ignore the files i= n it, but not all the files in its subdirectories.</div><div><br /></div><d= iv>In Visual Studio .NET projects, the bin folder structure is often someth= ing like this:</div><div><br /></div><div>bin\Debug\net8.0</div><div><br />= </div><div>And no, I don't want to add this whole thing to the pattern, the= re will be debug/release, bunch of .net version, it's a whole directory tre= e. I just want to tell TortoiseSvn to ignore the bin dir and everything in = it.</div><div><br /></div><div>I could sponsor development of this improvem= ent to TortoiseSVN, or if you point me to the code, I can implement it myse= lf.</div><div><br /></div><div>Best regards,</div><div><br /></div><div>Wou= t</div><div><br /></div></blockquote><div><br /></div><div>Hi,</div><div><b= r /></div><div>The global ignore is a Subversion feature, see for example= =C2=A0https://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 s= ent to [email protected]).</div><div><br /></div><div>That said: Wh= y don't you want to use the svn:ignore property? It seems like more efficie= nt - 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 ca= n 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.</div><div><br /></div><div>Cheers,</div><div>Daniel= </div><div><br /></div><div><br /></div><div><br /></div><div>=C2=A0</div><= /div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;TortoiseSVN-dev" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">tor= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= tortoisesvn-dev/fb4c3357-3346-414a-b429-a57529136f6dn%40googlegroups.com?ut= m_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/tor= toisesvn-dev/fb4c3357-3346-414a-b429-a57529136f6dn%40googlegroups.com</a>.<= br /> ------=_Part_1188965_20039445.1767280245481-- ------=_Part_1188964_1158726193.1767280245481--