[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Ignore patterns should not be case sensitive (usability)

From: Chris Rose <chris.rose_at_messagingdirect.com>
Date: Sun, 23 Mar 2008 10:13:14 -0600

Karl Fogel wrote:
> "Kevin Grover" <kevin_at_kevingrover.net> writes:
>
>> How about adding configuration options to svn:ignore? Like .hgignore
>> does for setting the syntax.
>> eg.
>> --------------------------- .hgignore
>> # use glob syntax.
>> syntax: glob
>>
>> *.elc
>> *.pyc
>> *~
>> .*.swp
>>
>> # switch to regexp syntax.
>> syntax: regexp
>> ^\.pc/
>> --------------------------- .hgignore
>>
>> SVN could have an option:
>> option: [+-]casesensative
>>
>> Where +casentative is the default option (and this maintains comapitility.
>> If this could potentially break current properties lists, there could
>> be another svn:ignore-options where these were set.
>>
>> In the processes, couldn't '# blah...' be allowed as comments?
>>
>
> Neat idea! I kind of like that, and it's hard to imagine that anyone
> has actually set ignore properties for files matching the regexp:
>
> ^option: [a-z0-9]+
>
> In other words, it is effectively backwards-compatible.
>
> Anyone think this is a bad idea?
>
I don't think it's a bad idea, per se, but I think that Kevin's
description of Mercury's format should be included as well; if svn
supports both option: and syntax: forms, then it's possible to provide a
nice, flexible svn:ignore to all comers.
> ---------------------------------------------------------------------
> 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-23 17:13:33 CET

This is an archived mail posted to the Subversion Dev mailing list.