Patchwork [17,of,19,pager] summary: enable pager

login
register
mail settings
Submitter Augie Fackler
Date Feb. 19, 2017, 11:13 p.m.
Message ID <2bbd0d7759e102d7ed0a.1487545988@imladris.local>
Download mbox | patch
Permalink /patch/18672/
State Accepted
Headers show

Comments

Augie Fackler - Feb. 19, 2017, 11:13 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1486440419 18000
#      Mon Feb 06 23:06:59 2017 -0500
# Node ID 2bbd0d7759e102d7ed0a95e41b6f48bc7bddae48
# Parent  efe1daeb054101ccdd14057062be826c2bd1180d
summary: enable pager

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4819,6 +4819,7 @@  def summary(ui, repo, **opts):
     Returns 0 on success.
     """
 
+    ui.pager('summary')
     ctx = repo[None]
     parents = ctx.parents()
     pnode = parents[0].node()