Show More
@@ -130,6 +130,12 b' colortable = {' | |||||
130 | b'phabricator.desc': b'', |
|
130 | b'phabricator.desc': b'', | |
131 | b'phabricator.drev': b'bold', |
|
131 | b'phabricator.drev': b'bold', | |
132 | b'phabricator.node': b'', |
|
132 | b'phabricator.node': b'', | |
|
133 | b'phabricator.status.abandoned': b'magenta dim', | |||
|
134 | b'phabricator.status.accepted': b'green bold', | |||
|
135 | b'phabricator.status.closed': b'green', | |||
|
136 | b'phabricator.status.needsreview': b'yellow', | |||
|
137 | b'phabricator.status.needsrevision': b'red', | |||
|
138 | b'phabricator.status.changesplanned': b'red', | |||
133 | } |
|
139 | } | |
134 |
|
140 | |||
135 | _VCR_FLAGS = [ |
|
141 | _VCR_FLAGS = [ | |
@@ -1728,7 +1734,11 b' def phabstatusshowview(ui, repo, display' | |||||
1728 |
|
1734 | |||
1729 | def phabstatus(ctx): |
|
1735 | def phabstatus(ctx): | |
1730 | drev = drevsbyrev[ctx.rev()] |
|
1736 | drev = drevsbyrev[ctx.rev()] | |
1731 | ui.write(b"\n%(uri)s %(statusName)s\n" % drev) |
|
1737 | status = ui.label( | |
|
1738 | b'%(statusName)s' % drev, | |||
|
1739 | b'phabricator.status.%s' % _getstatusname(drev), | |||
|
1740 | ) | |||
|
1741 | ui.write(b"\n%s %s\n" % (drev[b'uri'], status)) | |||
1732 |
|
1742 | |||
1733 | revs -= smartset.baseset(unknownrevs) |
|
1743 | revs -= smartset.baseset(unknownrevs) | |
1734 | revdag = graphmod.dagwalker(repo, revs) |
|
1744 | revdag = graphmod.dagwalker(repo, revs) |
General Comments 0
You need to be logged in to leave comments.
Login now