On Tue, Nov 16, 2021 at 5:41 AM Martin Edgar Furter Rathod
<m...@apache.org> wrote:
> This config file documentation reminds me on the case problem regarding
> auto-props. Like *.c and *.C may need different properties but that
> can't be configured right now.
>
> What about adding an auto-props file containing the rules and having a
> better suited format. An entry in the configuration could switch between
> old style auto-props section and new style auto-props file.

Instead of svn:auto-props, there might be a
svn:auto-props-file=file_name_here, where that file is versioned and
in the same directory as the svn:auto-props-file property. Similar
features could include svn:ignore-file=file_name_here, etc. But I
don't really like this idea.

The nice thing about properties is that they keep meta information
separate from the files under version control, so rather than
inventing the properties I just mentioned above, which would require
both a property and a file, I'd prefer a new svn:auto-props-ext
(extended) property that would support a more flexible glob syntax.
Users could define both svn:auto-props and svn:auto-props-ext. If both
are present, newer clients would apply svn:auto-props-ext only. If
only svn:auto-props is present, newer and older clients would continue
to use it as before. Older clients would not recognize
svn:auto-props-ext and would simply ignore it.

Cheers,
Nathan

Reply via email to