heads: enable pager
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 13 Mar 2017 11:19:24 -0700
changeset 31387 3d3109339b57
parent 31386 f1f57e4e55e0
child 31388 9e57033fec0c
heads: enable pager
mercurial/commands.py
--- 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: