changeset 35462:6f754b0fe54e

journal: use pager journal output is long and should use a pager. Differential Revision: https://phab.mercurial-scm.org/D1740
author Jun Wu <quark@fb.com>
date Wed, 20 Dec 2017 16:44:35 -0800
parents 3a119a423953
children ef7e667a4f7b
files hgext/journal.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/journal.py	Wed Dec 20 11:35:38 2017 -0800
+++ b/hgext/journal.py	Wed Dec 20 16:44:35 2017 -0800
@@ -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