Patchwork [1,of,4,STABLE,V3] pager: advertise the config option in the default hgrc

login
register
mail settings
Submitter Pierre-Yves David
Date May 2, 2017, 3:35 p.m.
Message ID <505986a1a595d39cb7cf.1493739341@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20347/
State Accepted
Headers show

Comments

Pierre-Yves David - May 2, 2017, 3:35 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 505986a1a595d39cb7cf6f74e3862bf297a07072
# Parent  7c76f3923b6a4fd6a35a9b498be15b9c549955eb
# 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 505986a1a595
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.

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -55,6 +55,11 @@  username =
 # (see 'hg help color' for details)
 # color = never
 
+[pager]
+# uncomment to disable command output pagination
+# (see 'hg help pager' for details)
+# enable = never
+
 [extensions]
 # uncomment these lines to enable some popular extensions
 # (see 'hg help extensions' for more info)
@@ -103,6 +108,11 @@  default = %s
 # (see 'hg help color' for details)
 # color = never
 
+[pager]
+# uncomment to disable command output pagination
+# (see 'hg help pager' for details)
+# enable = never
+
 [extensions]
 # uncomment these lines to enable some popular extensions
 # (see 'hg help extensions' for more info)