##// END OF EJS Templates
cat: migrate to modern pager API
Augie Fackler -
r31029:d6a703af default
parent child Browse files
Show More
@@ -110,4 +110,4 b' def uisetup(ui):'
110 110 extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
111 111 extensions.afterloaded('color', afterloaded)
112 112
113 attended = ['cat', 'diff', 'export', 'glog', 'log', 'qdiff']
113 attended = ['diff', 'export', 'glog', 'log', 'qdiff']
@@ -1417,6 +1417,7 b' def cat(ui, repo, file1, *pats, **opts):'
1417 1417 ctx = scmutil.revsingle(repo, opts.get('rev'))
1418 1418 m = scmutil.match(ctx, (file1,) + pats, opts)
1419 1419
1420 ui.pager('cat')
1420 1421 return cmdutil.cat(ui, repo, ctx, m, '', **opts)
1421 1422
1422 1423 @command('^clone',
General Comments 0
You need to be logged in to leave comments. Login now