[PATCH 1 of 2] graphlog: restore pager lost at 1cec1d863008

Yuya Nishihara yuya at tcha.org
Thu Feb 23 13:06:54 UTC 2017


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1487852426 -32400
#      Thu Feb 23 21:20:26 2017 +0900
# Node ID 32900a2dc4c5d2fd51b8e1238deac712a5a0e177
# Parent  96eaefd350aec869047d9e2da90913ae698463df
graphlog: restore pager lost at 1cec1d863008

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2235,6 +2235,8 @@ def graphlog(ui, repo, *pats, **opts):
         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)


More information about the Mercurial-devel mailing list