Patchwork [14,of,19,pager] paths: enable pager

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

Comments

Augie Fackler - Feb. 19, 2017, 11:13 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1486440361 18000
#      Mon Feb 06 23:06:01 2017 -0500
# Node ID 500ccd82255b5769cd8199c379333139f172420d
# Parent  1a66b4d02263e729191c832b6c1ede112a698279
paths: enable pager

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3761,6 +3761,7 @@  def paths(ui, repo, search=None, **opts)
 
     Returns 0 on success.
     """
+    ui.pager('paths')
     if search:
         pathitems = [(name, path) for name, path in ui.paths.iteritems()
                      if name == search]