[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-03-06 02:20:30 CET

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.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 02:18:50 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.