Patchwork D1740: journal: use pager

login
register
mail settings
Submitter phabricator
Date Dec. 21, 2017, 12:45 a.m.
Message ID <differential-rev-PHID-DREV-tl65tc7wgel4xijwmi4b-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26375/
State Superseded
Headers show

Comments

phabricator - Dec. 21, 2017, 12:45 a.m.
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




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

Patch

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