# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1508079730 -19800 # Node ID 25b5787e8ddef6f2f315e70f9571a4f8e5355906 # Parent 330d0b582ab38d35d9d521626e9d039044f38ecd releasenotes: add pager support when printing to the ui Differential Revision: https://phab.mercurial-scm.org/D1098 diff -r 330d0b582ab3 -r 25b5787e8dde hgext/releasenotes.py --- 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: