[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-06-21 02:18:08 CEST

On Sun, 17 Jun 2007, 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

The warning definitely passes the "good enough" test.

That said, I don't see a compelling need for this. I'd (personally)
prefer mentioning 'propdel' in the help output which talks about
"svn:executable", which is currently:

    svn:needs-lock - If present, indicates that the file should be locked
      before it is modified. Makes the working copy file read-only
      when it is not locked.

  • application/pgp-signature attachment: stored
Received on Thu Jun 21 02:18:02 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.