Pager Support

Some Mercurial commands can produce a lot of output, and Mercurial will attempt to use a pager to make those commands more pleasant.

Um den zu verwendenden Pager zu setzen, setzen Sie die folgende Variable:

[pager]
pager = less -FRX

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.

Sie können den Pager für bestimmte Befehle deaktivieren, indem Sie diese in die pager.ignore-Liste aufnehmen:

[pager]
ignore = version, help, update

Um globale Befehle wie 'hg version' oder 'hg help' zu ignorieren, müssen Sie diese in Ihrer Konfigurationsdatei angeben.

To control whether the pager is used at all for an individual command, you can use --pager=<value>:

To globally turn off all attempts to use a pager, set:

[ui]
paginate = never

which will prevent the pager from running.