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

Re: Property values for boolean properties.

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-06-19 16:08:36 CEST

On 6/19/07, Ben Collins-Sussman <sussman@red-bean.com> wrote:
> On 6/18/07, C. Michael Pilato <cmpilato@collab.net> wrote:
>
> > So Karl: if you write the code to do the client warning when using propset
> > with values of "off" or "false", maybe make the warning recommend propdel.
> >
> > $ svn propset svn:executable false filename
> > svn: warning: The value of 'svn:executable' property is ignored by
> > Subversion -- the behavior is enabled by the mere existence of the
> > property. Your value of "false" looks like one which attempts to
> > disable this property's behavior (but will not have that effect).
> > If that is what you are trying to do, use 'svn propdel' instead.
>
> I like this idea of throwing in an extra warning. But I feel like I
> missed something in Karl's original post. Karl brings up this whole
> subject as if it were a de-facto truth that this potential UI
> confusion is a serious problem... but is there really a problem here?
> In all my years, I've never heard of anyone being bitten by this.

I have the same reaction as Ben. This all sounds OK, but I have
*never* seen this problem come up on the users@ list. I have also
never heard of people using "on" as the prop value when setting the
property.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 19 16:08:39 2007

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.