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

Jordi GutiƩrrez Hermoso jordigh at octave.org
Thu Feb 26 07:31:26 CST 2015


On Thu, 2015-02-26 at 01:46 -0800, Mateusz Kwapich wrote:
> # HG changeset patch
> # User Mateusz Kwapich <mitrandir at fb.com>
> # Date 1421880324 28800
> #      Wed Jan 21 14:45:24 2015 -0800
> # Node ID d223d1b0cc6ebda31edda6710b9c05ca1926b8fb
> # Parent  ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
> 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.

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

- Jordi G. H.




More information about the Mercurial-devel mailing list