D1098: releasenotes: add pager support when printing to the ui
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Oct 16 09:34:47 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG25b5787e8dde: releasenotes: add pager support when printing to the ui (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1098?vs=2788&id=2808
REVISION DETAIL
https://phab.mercurial-scm.org/D1098
AFFECTED FILES
hgext/releasenotes.py
CHANGE DETAILS
diff --git a/hgext/releasenotes.py b/hgext/releasenotes.py
--- a/hgext/releasenotes.py
+++ b/hgext/releasenotes.py
@@ -577,6 +577,7 @@
incoming = parsenotesfromrevisions(repo, sections.names(), revs)
if file_ is None:
+ ui.pager('releasenotes')
return ui.write(serializenotes(sections, incoming))
try:
To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list