Comments
Patch
@@ -35,7 +35,7 @@ vdiff on hovered and selected revisions.
'''
import os
-from mercurial import commands, util, patch, revlog, scmutil
+from mercurial import commands, util, patch, revlog, scmutil, phases
from mercurial.node import nullid, nullrev, short
from mercurial.i18n import _
@@ -114,7 +114,8 @@ def catcommit(ui, repo, n, prefix, ctx=N
if committer != '':
ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1])))
ui.write(("revision %d\n" % ctx.rev()))
- ui.write(("branch %s\n\n" % ctx.branch()))
+ ui.write(("branch %s\n" % ctx.branch()))
+ ui.write(("phase %s\n\n" % ctx.phasestr()))
if prefix != "":
ui.write("%s%s\n" % (prefix,
@@ -13,6 +13,7 @@ Minimal hgk check
author test 0 0
revision 0
branch default
+ phase draft
adda