Mercurial > hg-stable
diff hgext/releasenotes.py @ 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 | 159a6f7e09a9 |
children | 070ba789f4d0 |
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: