Patchwork [1,of,2] branches: enable pager

login
register
mail settings
Submitter via Mercurial-devel
Date March 13, 2017, 6:28 p.m.
Message ID <f1f57e4e55e0afa73bdd.1489429690@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/19284/
State Accepted
Headers show

Comments

via Mercurial-devel - March 13, 2017, 6:28 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1489428239 25200
#      Mon Mar 13 11:03:59 2017 -0700
# Node ID f1f57e4e55e0afa73bddcef240b1ba10f66216b1
# Parent  1c48a8278b2f015fca607dfc652823560a5ac580
branches: enable pager
Yuya Nishihara - March 13, 2017, 6:41 p.m.
On Mon, 13 Mar 2017 11:28:10 -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1489428239 25200
> #      Mon Mar 13 11:03:59 2017 -0700
> # Node ID f1f57e4e55e0afa73bddcef240b1ba10f66216b1
> # Parent  1c48a8278b2f015fca607dfc652823560a5ac580
> branches: enable pager

Queued these, thanks.

Patch

diff -r 1c48a8278b2f -r f1f57e4e55e0 mercurial/commands.py
--- a/mercurial/commands.py	Sun Mar 12 17:16:43 2017 -0700
+++ b/mercurial/commands.py	Mon Mar 13 11:03:59 2017 -0700
@@ -1223,6 +1223,7 @@ 
     Returns 0.
     """
 
+    ui.pager('branches')
     fm = ui.formatter('branches', opts)
     hexfunc = fm.hexfunc