Mercurial > hg-stable
changeset 34736:25b5787e8dde
releasenotes: add pager support when printing to the ui
Differential Revision: https://phab.mercurial-scm.org/D1098
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 15 Oct 2017 20:32:10 +0530 |
parents | 330d0b582ab3 |
children | 0c06875e7755 |
files | hgext/releasenotes.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/releasenotes.py Fri Oct 13 22:08:55 2017 +0200 +++ b/hgext/releasenotes.py Sun Oct 15 20:32:10 2017 +0530 @@ -577,6 +577,7 @@ incoming = parsenotesfromrevisions(repo, sections.names(), revs) if file_ is None: + ui.pager('releasenotes') return ui.write(serializenotes(sections, incoming)) try: