# HG changeset patch # User Martin von Zweigbergk # Date 2017-03-13 18:19:24 # Node ID 3d3109339b57341b333c1112beb41dd281fa944a # Parent f1f57e4e55e0afa73bddcef240b1ba10f66216b1 heads: enable pager diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2705,6 +2705,7 @@ def heads(ui, repo, *branchrevs, **opts) 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: