[PATCH] help: clarify the choice of pager

Xavier Lepaul xalep at google.com
Fri Jun 2 11:31:41 UTC 2017


# HG changeset patch
# User Xavier Lepaul <xalep at google.com>
# Date 1496393080 -7200
#      Fri Jun 02 10:44:40 2017 +0200
# Node ID 77a4708bafddb2599147c2dfc6eca47eaf9f3ba2
# Parent  e6ff007e107e434b35eb881711f459c7a75c91b2
help: clarify the choice of pager

This follows the change made in d83e51654c8a to use environment variables
between system and user configuration.

diff -r e6ff007e107e -r 77a4708bafdd mercurial/help/pager.txt
--- a/mercurial/help/pager.txt	Thu Jun 01 00:40:52 2017 -0700
+++ b/mercurial/help/pager.txt	Fri Jun 02 10:44:40 2017 +0200
@@ -6,9 +6,10 @@
   [pager]
   pager = less -FRX
 
-If no pager is set, Mercurial uses the environment variable
-$PAGER. If neither pager.pager, nor $PAGER is set, a default pager
-will be used, typically `less` on Unix and `more` on Windows.
+If no pager is set in the user or repository configuration, Mercurial uses the
+environment variable $PAGER. If $PAGER is not set, pager.pager from the default
+or system configuration is used. If none of these are set, a default pager will
+be used, typically `less` on Unix and `more` on Windows.
 
 .. container:: windows
 


More information about the Mercurial-devel mailing list