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

login
register
mail settings
Submitter Pierre-Yves David
Date May 1, 2017, 4:12 p.m.
Message ID <4dc606e022f3c9d1a999.1493655170@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20341/
State Accepted
Headers show

Comments

Pierre-Yves David - May 1, 2017, 4:12 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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.
Pierre-Yves David - May 1, 2017, 5:47 p.m.
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@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)
>

Patch

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)