[PATCH 14 of 19 pager] paths: enable pager

Augie Fackler raf at durin42.com
Sun Feb 19 18:13:05 EST 2017


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

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]


More information about the Mercurial-devel mailing list