# HG changeset patch # User Augie Fackler # Date 1486440266 18000 # Node ID bcc9d4ebf81ba13ed0590288dea3470b16149801 # Parent 9f28424d648338261f2b56f197c515de51537e20 manifest: enable pager diff -r 9f28424d6483 -r bcc9d4ebf81b mercurial/commands.py --- a/mercurial/commands.py Mon Feb 06 23:04:10 2017 -0500 +++ b/mercurial/commands.py Mon Feb 06 23:04:26 2017 -0500 @@ -3484,7 +3484,6 @@ Returns 0 on success. """ - fm = ui.formatter('manifest', opts) if opts.get('all'): @@ -3500,6 +3499,7 @@ for fn, b, size in repo.store.datafiles(): if size != 0 and fn[-slen:] == suffix and fn[:plen] == prefix: res.append(fn[plen:-slen]) + ui.pager('manifest') for f in res: fm.startitem() fm.write("path", '%s\n', f) @@ -3516,6 +3516,7 @@ mode = {'l': '644', 'x': '755', '': '644'} ctx = scmutil.revsingle(repo, node) mf = ctx.manifest() + ui.pager('manifest') for f in ctx: fm.startitem() fl = ctx[f].flags()