Hello, Don't forget about the svn:global-ignores inheritable property. [[[ Subversion 1.8 provides a more powerful version of the svn:ignore property, the svn:global-ignores property. Like the svn:ignore property, svn:global-ignores can only be set on a directory and contains file patterns Subversion uses to determine ignorable objects.[21] <http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html#ftn.idm3121> These ignore patterns are also appended to any patterns defined in the global-ignores runtime configuration option together with any svn:ignore defined patterns. Unlike svn:ignore however, the svn:global-ignores property is inheritable [22] <http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html#ftn.idm3130> and applies to *all* paths under the directory on which the property is set, not just the immediate children of the directory. ]]]
See http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html . On Tue, Nov 3, 2020 at 3:38 PM Bruce C via TortoiseSVN < [email protected]> wrote: > Hi, > > You have multiple options for ignoring files, as follows: > > - You can have the TortoiseSVN client globally ignore local files. > - You can have the Subversion client globally ignore local files (that > will also be ignored by TortoiseSVN). > - You can set a property in your repository to have files ignored for > that, specific repository folder (that will be recognised by all Subversion > clients). > > Since you are using the TortoiseSVN client, you can change the global > ignores for TortoiseSVN and the Subversion client in the same place. Right > click the *Desktop* and select the *TortoiseSVN->Settings* menu. The > *General* page allows the TortoiseSVN specific global ignores to be set > directly and also allows the Subversion ignores to be changed by editing > the *Subversion Configuration file*. In the configuration file, update > the *global-ignores* item. I use the Subversion configuration file > because I want the settings to be used by TortoiseSVN and the command line > client. I use these settings to ignore files created by the specific tools > I use. For example, the editor I use has specific settings files that I > want to ignore on my system but aren't relevant for other developers using > other tools. > > The next option is to set the file ignores for the repository, or a > specific folder in the repository. For this, use the svn:ignore property. > This is described in the Subversion documentation > <http://svnbook.red-bean.com/en/1.7/svn-book.html>. I use this to ignore > output artifacts created by the project that I don't want to include in > version control. This might be compilation objects files or executables. > This is the equivalent of the local *.gitignore* file you mentioned. > > Hope this helps. > On Tuesday, 3 November 2020 at 12:09:47 UTC Wolfgang G wrote: > >> Hallo, >> >> I program with the TcXaeShell, which is integrated in Visual Studio 2017. >> In the project files is a file ".gitignore". As I work with subversion (or >> TortoiseSVN), I have inserted the contents of the file into the property >> "svn:ignore" and have used the property recursively. It seems to work, but >> I’m not sure if this is the right way. >> Is there also a list of files to ignore for subversion? >> >> Wolfgang >> > -- > You received this message because you are subscribed to the Google Groups > "TortoiseSVN" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tortoisesvn/35738884-57c3-4185-abcc-a77612f594c1n%40googlegroups.com > <https://groups.google.com/d/msgid/tortoisesvn/35738884-57c3-4185-abcc-a77612f594c1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- With best regards, Pavel Lyalyakin VisualSVN Team -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/CAEyhmwZvLnQGH3%3Dwk_gcNGbGjKxU%2BA-YhKXvvDw4x1ciu4UqEw%40mail.gmail.com.
