##// END OF EJS Templates
hgk: add support for phases...
Andrew Shadura -
r18807:cf72fd8b default
parent child Browse files
Show More
@@ -35,7 +35,7 b' vdiff on hovered and selected revisions.'
35 '''
35 '''
36
36
37 import os
37 import os
38 from mercurial import commands, util, patch, revlog, scmutil
38 from mercurial import commands, util, patch, revlog, scmutil, phases
39 from mercurial.node import nullid, nullrev, short
39 from mercurial.node import nullid, nullrev, short
40 from mercurial.i18n import _
40 from mercurial.i18n import _
41
41
@@ -114,7 +114,8 b' def catcommit(ui, repo, n, prefix, ctx=N'
114 if committer != '':
114 if committer != '':
115 ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1])))
115 ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1])))
116 ui.write(("revision %d\n" % ctx.rev()))
116 ui.write(("revision %d\n" % ctx.rev()))
117 ui.write(("branch %s\n\n" % ctx.branch()))
117 ui.write(("branch %s\n" % ctx.branch()))
118 ui.write(("phase %s\n\n" % ctx.phasestr()))
118
119
119 if prefix != "":
120 if prefix != "":
120 ui.write("%s%s\n" % (prefix,
121 ui.write("%s%s\n" % (prefix,
@@ -13,6 +13,7 b' Minimal hgk check'
13 author test 0 0
13 author test 0 0
14 revision 0
14 revision 0
15 branch default
15 branch default
16 phase draft
16
17
17 adda
18 adda
18
19
General Comments 0
You need to be logged in to leave comments. Login now