To whom it may concern,
On October 21, 2021, I have inquired on the SVN user mailing list about any
means to use glob patterns in *svn:auto-props* that would be more powerful
than the Unix *fnmatch* patterns it currently uses.

The need to do so was driven by a desire to have different *svn:auto-props*
settings for "*CMakeLists.txt*" (a script file written in the CMake
language), and all other "**.txt*" files (general plain text files). It's
not too significant in this particular case, in that they are both plain
text files, but I can imagine a scenario where the inability to set one
property for a specific set of files with a given extension, and another
property for all other files with this extension, would be limiting. The
*fnmatch* glob syntax does not easily allow this, but the GNU extensions to
it allow, for example, the use of "*!(CMakeLists).txt*", which will match
anything that "**.txt*" would match, except "*CMakeLists.txt*". For those
unfamiliar with the GNU extensions, this is a very good summary (written
here for a Python library that duplicates the functionality):
https://facelessuser.github.io/wcmatch/fnmatch/

I looked at the SVN DesignNotes wiki, and was unable to find any entries
for something like this. So here I am requesting this feature. Please let
me know if you have any questions about it. Looking forward to hearing from
you!

Eugeny Sosnovsky
Chief Engineer at Silver Fir Software

Reply via email to