[PATCH 8 of 8 STABLE] pager: advertise the config option in the default hgrc

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon May 1 13:47:30 EDT 2017


Note, since both color and pager series are updating the same file 
around the same spot, that version of patch 8 assume the color series 
has been accepted. The change are "independent" but similar.

On 05/01/2017 06:12 PM, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
> # Date 1493654843 -7200
> #      Mon May 01 18:07:23 2017 +0200
> # Branch stable
> # Node ID 4dc606e022f3c9d1a99944563623793ef1ef4a5a
> # Parent  d16b224d9b63c09be21acc0eb988c6efecd2f990
> # EXP-Topic pager
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 4dc606e022f3
> pager: advertise the config option in the default hgrc
>
> Same as for 'ui.color', this is a critical part of the UI and we want user to
> find this config knob easily.
>
> diff --git a/mercurial/ui.py b/mercurial/ui.py
> --- a/mercurial/ui.py
> +++ b/mercurial/ui.py
> @@ -55,6 +55,10 @@ username =
>  # (see 'hg help color' for details)
>  # color = never
>
> +# uncomment to disable command output pagination
> +# (see 'hg help pager' for details)
> +# pager = never
> +
>  [extensions]
>  # uncomment these lines to enable some popular extensions
>  # (see 'hg help extensions' for more info)
> @@ -103,6 +107,10 @@ default = %s
>  # (see 'hg help color' for details)
>  # color = never
>
> +# uncomment to disable command output pagination
> +# (see 'hg help pager' for details)
> +# pager = never
> +
>  [extensions]
>  # uncomment these lines to enable some popular extensions
>  # (see 'hg help extensions' for more info)
>

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list