[PATCH 6 of 8 STABLE] pager: document the 'pager' config section

Augie Fackler raf at durin42.com
Mon May 1 15:26:12 EDT 2017


On Mon, May 01, 2017 at 06:12:48PM +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
> # Date 1493650331 -7200
> #      Mon May 01 16:52:11 2017 +0200
> # Branch stable
> # Node ID bdd42fa505b60739fa337e683a0f64b8dc1c4707
> # Parent  4f5a7d079ffcf7e9ed261d05f230711842dfd3b2
> # 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 bdd42fa505b6
> pager: document the 'pager' config section

I have queued patches 1, 2, 3, and 6. The remainder we're pondering
now so we can roll 4.2 (the patches I've taken are great examples of
things that should happen during a freeze: doc cleanups and minor
fixes.)

>
> There as a 'hg help pager' section but the 'hg help config.pager' was missing.
>
> diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
> --- a/mercurial/help/config.txt
> +++ b/mercurial/help/config.txt
> @@ -1361,6 +1361,27 @@ Supported arguments:
>      the executable name of the tool.
>      (default: None)
>
> +``pager``
> +---------
> +
> +Setting used to control when to paginate and with what external tool. See
> +:hg:`help pager` for details.
> +
> +``pager``
> +    Define the external tool used as pager.
> +
> +    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. Example::
> +
> +      [pager]
> +      pager = less -FRX
> +
> +``ignore``
> +    List of commands to disable the pager for. Example::
> +
> +      [pager]
> +      ignore = version, help, update
>
>  ``patch``
>  ---------
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list