##// END OF EJS Templates
manifest: enable pager
Augie Fackler -
r31040:bcc9d4eb default
parent child Browse files
Show More
@@ -3484,7 +3484,6 b' def manifest(ui, repo, node=None, rev=No'
3484 3484
3485 3485 Returns 0 on success.
3486 3486 """
3487
3488 3487 fm = ui.formatter('manifest', opts)
3489 3488
3490 3489 if opts.get('all'):
@@ -3500,6 +3499,7 b' def manifest(ui, repo, node=None, rev=No'
3500 3499 for fn, b, size in repo.store.datafiles():
3501 3500 if size != 0 and fn[-slen:] == suffix and fn[:plen] == prefix:
3502 3501 res.append(fn[plen:-slen])
3502 ui.pager('manifest')
3503 3503 for f in res:
3504 3504 fm.startitem()
3505 3505 fm.write("path", '%s\n', f)
@@ -3516,6 +3516,7 b' def manifest(ui, repo, node=None, rev=No'
3516 3516 mode = {'l': '644', 'x': '755', '': '644'}
3517 3517 ctx = scmutil.revsingle(repo, node)
3518 3518 mf = ctx.manifest()
3519 ui.pager('manifest')
3519 3520 for f in ctx:
3520 3521 fm.startitem()
3521 3522 fl = ctx[f].flags()
General Comments 0
You need to be logged in to leave comments. Login now