[PATCH 8 of 8 v2] help: mark boolean flags with a ^ and explain that they can be negated (RFC)

Augie Fackler raf at durin42.com
Wed Aug 31 09:15:59 EDT 2016


On Wed, Aug 31, 2016 at 12:42 AM, timeless <timeless at gmail.com> wrote:
> In principle you shouldn't use multi occur to guard this.
>
>      if multioccur:
> -        header += (_(" ([+] can be repeated)"))
> +        m = _(
> +            " ([+] can be repeated, flags marked ^ can be negated with
> --no-)")
> +        header += (m)
>
> It's too hard for me you write the correct logic (you can use a set and
> dictionary).

Yes, I'll change the code a little. How's the overall feel of the
output in help? Good enough? Awful?


More information about the Mercurial-devel mailing list