[PATCH v5] help: mark boolean flags with [no-] to explain that they can be negated (RFC)

Yuya Nishihara yuya at tcha.org
Thu Sep 29 10:33:29 EDT 2016


On Wed, 28 Sep 2016 17:24:59 -0500, Kevin Bullock wrote:
> > On Sep 28, 2016, at 12:07, Augie Fackler <raf at durin42.com> wrote:
> > Should I mail a v6? How do people feel about this particular patch, commit message aside?
> 
> I'd say it's the cleanest of the options presented thus far. I'm in favor.

I like this, too.

> +            else:
> +                if ('no-' + longopt) not in alllong:
> +                    lo = '--[no-]' + lo[2:]
> +            multioccur = True

'multioccur = True' looks like a remainder from the previous round.


More information about the Mercurial-devel mailing list