##// END OF EJS Templates
manifest: add support for log-like template keywords and functions...
Yuya Nishihara -
r38561:ece3f2d0 default
parent child Browse files
Show More
@@ -3683,6 +3683,7 b' def manifest(ui, repo, node=None, rev=No'
3683 ui.pager('manifest')
3683 ui.pager('manifest')
3684 for f in ctx:
3684 for f in ctx:
3685 fm.startitem()
3685 fm.startitem()
3686 fm.context(ctx=ctx)
3686 fl = ctx[f].flags()
3687 fl = ctx[f].flags()
3687 fm.condwrite(ui.debugflag, 'hash', '%s ', hex(mf[f]))
3688 fm.condwrite(ui.debugflag, 'hash', '%s ', hex(mf[f]))
3688 fm.condwrite(ui.verbose, 'mode type', '%s %1s ', mode[fl], char[fl])
3689 fm.condwrite(ui.verbose, 'mode type', '%s %1s ', mode[fl], char[fl])
@@ -50,6 +50,10 b' The next call is expected to return noth'
50 644 a
50 644 a
51 755 * b/a
51 755 * b/a
52 644 @ l
52 644 @ l
53 $ hg manifest -T '{path} {rev}\n'
54 a 1
55 b/a 1
56 l 1
53
57
54 $ hg manifest --debug
58 $ hg manifest --debug
55 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
59 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
General Comments 0
You need to be logged in to leave comments. Login now