# HG changeset patch # User Augie Fackler <au...@google.com> # Date 1486439965 18000 # Mon Feb 06 22:59:25 2017 -0500 # Node ID 173c95da11848036895410797f8228c6562ce1d3 # Parent c263fdd944aa367df3fce4dc30c901eb7fdadd26 log: migrate to modern pager API
diff --git a/hgext/pager.py b/hgext/pager.py --- a/hgext/pager.py +++ b/hgext/pager.py @@ -110,4 +110,4 @@ def uisetup(ui): extensions.wrapfunction(dispatch, '_runcommand', pagecmd) extensions.afterloaded('color', afterloaded) -attended = ['glog', 'log', 'qdiff'] +attended = ['qdiff'] diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3435,6 +3435,7 @@ def log(ui, repo, *pats, **opts): endrev = scmutil.revrange(repo, opts.get('rev')).max() + 1 getrenamed = templatekw.getrenamedfn(repo, endrev=endrev) + ui.pager('log') displayer = cmdutil.show_changeset(ui, repo, opts, buffered=True) for rev in revs: if count == limit: _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel