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 |
|
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, |
General Comments 0
You need to be logged in to leave comments.
Login now