graphlog: restore pager lost at 1cec1d863008
authorYuya Nishihara <yuya@tcha.org>
Thu, 23 Feb 2017 21:20:26 +0900
changeset 31078 a113284f54a0
parent 31077 0f39055c9be5
child 31079 873ebdd6e84d
graphlog: restore pager lost at 1cec1d863008
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Wed Feb 22 12:09:17 2017 +0100
+++ b/mercurial/cmdutil.py	Thu Feb 23 21:20:26 2017 +0900
@@ -2235,6 +2235,8 @@
         if opts.get('rev'):
             endrev = scmutil.revrange(repo, opts.get('rev')).max() + 1
         getrenamed = templatekw.getrenamedfn(repo, endrev=endrev)
+
+    ui.pager('log')
     displayer = show_changeset(ui, repo, opts, buffered=True)
     displaygraph(ui, repo, revdag, displayer, graphmod.asciiedges, getrenamed,
                  filematcher)