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

Re: [PATCH]Why do we store svn config section options in a case insensitive way?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-21 18:24:29 CEST

Justin Erenkrantz wrote:
> On 5/21/07, C. Michael Pilato <cmpilato@collab.net> wrote:
>> That's true, but to what degree do we care? We've only ever
>> publicized our
>> option names in lower-case form -- in samples, documentation, and
>> discussion. So why would somebody choose to use a different form?
>> Simply
>> because they tried it and nothing fell completely over (for them)?
>> Shame on
>> them.
>
> Silently ignoring config options because the case is wrong seems bad, IMO.
>
> I think it'd be better to normalize filenames before checking the
> autoprops code. This would mean that we lose case-sensitivity on the
> applicability of the autoprops, but I view that as a far lesser evil.
> -- justin

Yeah, I think I have to agree. For one thing, it's easy to document that
our autoprop application is done case-insensitively. But secondly, folks
might actually *prefer* this most of the time, even, especially if their
repositories are prone to winding up with upper-cased filenames thanks to
some Windows software.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Mon May 21 18:24:46 2007

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