[PATCH] histedit: add a config allowing changing histedit rule line length limit

Augie Fackler raf at durin42.com
Thu Feb 26 17:51:56 UTC 2015


On Thu, Feb 26, 2015 at 8:31 AM, Jordi Gutiérrez Hermoso
<jordigh at octave.org> wrote:
>> histedit: add a config allowing changing histedit rule line length limit
> [snip]
>> +    maxlen = ui.configint('histedit', 'action_line_maxlen', default=80)
>
> We don't use underscores in option names. Justjamallthewordstogether.
> Look at `hg help config` for examples.

I'd probably go with histedit.linelen for the name.

>
> While we're talking about docs, this option needs some. They should go
> in `hg help -e histedit`.

+1



More information about the Mercurial-devel mailing list