##// END OF EJS Templates
log: migrate to modern pager API
Augie Fackler -
r31032:1cec1d86 default
parent child Browse files
Show More
@@ -110,4 +110,4 b' def uisetup(ui):'
110 extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
110 extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
111 extensions.afterloaded('color', afterloaded)
111 extensions.afterloaded('color', afterloaded)
112
112
113 attended = ['glog', 'log', 'qdiff']
113 attended = ['qdiff']
@@ -3435,6 +3435,7 b' def log(ui, repo, *pats, **opts):'
3435 endrev = scmutil.revrange(repo, opts.get('rev')).max() + 1
3435 endrev = scmutil.revrange(repo, opts.get('rev')).max() + 1
3436 getrenamed = templatekw.getrenamedfn(repo, endrev=endrev)
3436 getrenamed = templatekw.getrenamedfn(repo, endrev=endrev)
3437
3437
3438 ui.pager('log')
3438 displayer = cmdutil.show_changeset(ui, repo, opts, buffered=True)
3439 displayer = cmdutil.show_changeset(ui, repo, opts, buffered=True)
3439 for rev in revs:
3440 for rev in revs:
3440 if count == limit:
3441 if count == limit:
General Comments 0
You need to be logged in to leave comments. Login now