D1740: journal: use pager

quark (Jun Wu) phabricator at mercurial-scm.org
Wed Dec 20 19:45:10 EST 2017


quark created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  journal output is long and should use a pager.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1740

AFFECTED FILES
  hgext/journal.py

CHANGE DETAILS

diff --git a/hgext/journal.py b/hgext/journal.py
--- a/hgext/journal.py
+++ b/hgext/journal.py
@@ -480,6 +480,7 @@
 
     limit = cmdutil.loglimit(opts)
     entry = None
+    ui.pager('journal')
     for count, entry in enumerate(repo.journal.filtered(name=name)):
         if count == limit:
             break



To: quark, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list