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

Re: propedit on svn:mime-type

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-06 13:40:58 CET

Julian Foad wrote:

> Luke Blanshard wrote:
>
>> Branko Čibej wrote:
>>
>>> Greg Stein wrote:
>>>
>>>>> * svn:executable: Always make the value an empty string, since we
>>>>> only ever check if the property exists, we don't care about
>>>>> the value
>>>>
>>
>>>> I'd ask that it becomes something besides the empty string. Otherwise,
>>>> 'svn pl -v' will look awfully funny.
>>>
>>>
>>> Ah, good point.
>>>
>>> Since "yes" and "true" are so overused, I suggest "och, aye". :-)
>>
>>
>> How about "present"? The problem with any equivalent of "yes" is that
>> it implies that "no" will turn it off.
>
>
> Indeed. But over the years I've come to the conclusion that when a
> value is semantically blank, it should never be filled with some
> default value and then stored. That leads to things like web pages
> being titled "Page Title", whereas, if the page creator had left the
> field blank, the browser could have displayed something more sensible
> like the URL.
>
> So in this case I say it is the responsibility of "proplist" to
> produce reasonable output for both empty and non-empty properties.

Oh no, that would mean that proplist has to understand the difference
between properties whose value matters and those whose presence matters.
Bah. Let's just put a "*" in there and be done with it. If we always
force that value, nobody will be able to set it to "yes" or "no" or "on"
or "off" or whatever, anyway, so there can't be any confusion about
turining it off by changing the value.

Alex, how's that patch coming along? :-)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 13:42:15 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.