On Mar 24, 2008, at 15:18, Erik Huelsmann wrote:
> I'd like to point out all this discussion is moot: the current
> interface for svn:ignore doesn't allow for case-insensitive patterns
> other than the glob ones already provided.
> The svn:ignore property is a public interface, meaning that we can't
> change it until 2.0. Adding more properties which 'do almost the same'
> is definitely out of line with anything the Subversion developers have
> done so far and probably only serves to confuse.
Not *all* this discussion is moot... There have been several
suggestions in this thread which could be implemented without
breaking backward compatibility.
For example, the suggestion of introducing a mode for ignores, which
is set to case-sensitive by default, but which can be changed to case-
insensitive by writing a line like "option: caseinsensitive" or
"option: -casesensitive" or "option: casesensitive=no".
I agree with Karl that such a line is highly unlikely to be used in
existing ignore rules such that it should not affect backward
compatibility in practice.
The next trick is to find a solution for global-ignores, since it's
specified all on one line. Either devise a syntax for this option
argument that has no whitespace ("option:caseinsensitive"?) which can
thus be used in the global-ignores specification, or an additional
config option specifying whether global-ignores are case-sensitive
(default) or case-insensitive ("global-ignores-are-case-sensitive =
no"?) or an additional config option for specifying case-insensitive
global-ignores ("global-ignores-case-insensitive = *.bak"?) in
addition to the existing global-ignores key for case-sensitive matches.
Or maybe global-ignores could be changed into a section by itself,
just like auto-props is:
I like this best, as this would have the advantage that it could then
use exactly the same syntax as svn:ignore for setting the case
sensitivity mode. Specifying global-ignores the "old" way would still
be supported for backwards compatibility but would remain case-
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-25 01:18:59 CET