changeset 31387:3d3109339b57

heads: enable pager
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 13 Mar 2017 11:19:24 -0700
parents f1f57e4e55e0
children 9e57033fec0c
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Mar 13 11:03:59 2017 -0700
+++ b/mercurial/commands.py	Mon Mar 13 11:19:24 2017 -0700
@@ -2705,6 +2705,7 @@
     if not heads:
         return 1
 
+    ui.pager('heads')
     heads = sorted(heads, key=lambda x: -x.rev())
     displayer = cmdutil.show_changeset(ui, repo, opts)
     for ctx in heads: