[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 benedetto king <mbk_at_lowlatency.com>
Date: 2007-06-18 13:03:13 CEST

On Sun, Jun 17, 2007 at 11:39:53PM -0700, Justin Erenkrantz wrote:
> On 6/17/07, Karl Fogel <kfogel@red-bean.com> wrote:
> > How about the command-line client prints a warning if you set one of
> > these properties to "off", "no", or "false"? That is, it does the
> > propset, but also prints to stderr a message saying that this might
> > not have the effect you want/expect.
> +1. I think this is a job for the client code to deal with - GUIs
> like TortoiseSVN wouldn't really have issues with this - only the
> command-line client has the possibility for pilot error like this.
> Yes, TortoiseSVN and others *might* be able to paint themselves in
> such a corner, but...feh. This solution is good enough... -- justin

Also, consider changing the examples that use "on" or "true" to use "x" or
even "dummyval".

"on" tempts the user to try "off". "x" doesn't have an opposite.

(I would have picked "*", but for its potential for interpretation as
 a globbing character).


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 18 13:03:31 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.