[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: Peter Samuelson <peter_at_p12n.org>
Date: 2007-06-19 07:55:58 CEST

[Karl Fogel]
> 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.

Sounds good - but I think it should special-case value "" (the empty
string) as well. Either include that in the warning codepath, or jump
to propdel if you try to set a boolean to "". In fact, maybe propdel
if you try to set _any_ svn: property to the empty string.

Received on Tue Jun 19 07:56:08 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.