Use the pager given by the environment to display long output
Unix systems usually have a PAGER environment variable set.
If it is set, mercurial will use the pager application to display
output.
Two configuration variables are available to influence the behaviour of the
pager. ui.pager sets the pager application. The pager is
only used if ui.usepager is true. By default ui.usepager is disabled.
To run the tests, do:
cd tests/
python run-tests.py
See http://www.selenic.com/mercurial/wiki/index.cgi/WritingTests for
more information on writing tests.