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

login
register
mail settings
Submitter Pierre-Yves David
Date May 1, 2017, 8:29 p.m.
Message ID <43b8715f09a0f1e6646b.1493670563@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20344/
State Superseded
Headers show

Comments

Pierre-Yves David - May 1, 2017, 8:29 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 43b8715f09a0f1e6646beabecb5d1df5321a5bac
# Parent  e8dd07d6bb6dedaf466ed29e8de0789e8a8f1076
# 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 43b8715f09a0
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,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)