Show More
@@ -40,7 +40,7 b' status.deleted = cyan bold underline' | |||
|
40 | 40 | status.unknown = magenta bold underline |
|
41 | 41 | status.ignored = black bold |
|
42 | 42 | |
|
43 | 'none' turns off all effects | |
|
43 | # 'none' turns off all effects | |
|
44 | 44 | status.clean = none |
|
45 | 45 | status.copied = none |
|
46 | 46 | |
@@ -144,13 +144,17 b' def colorqseries(qseriesfunc, ui, repo, ' | |||
|
144 | 144 | retval = qseriesfunc(ui, repo, **opts) |
|
145 | 145 | patches = ui.popbuffer().splitlines() |
|
146 | 146 | for patch in patches: |
|
147 | patchname = patch | |
|
148 | if opts['summary']: | |
|
149 | patchname = patchname.split(': ')[0] | |
|
150 | if ui.verbose: | |
|
151 | patchname = patchname.split(' ', 2)[-1] | |
|
152 | ||
|
147 | 153 | if opts['missing']: |
|
148 | 154 | effects = _patch_effects['missing'] |
|
149 |
# Determine if patch is applied. |
|
|
150 | # line in the applied patch list, in case --summary has been used | |
|
151 | # and output line isn't just the patch name. | |
|
155 | # Determine if patch is applied. | |
|
152 | 156 | elif [ applied for applied in repo.mq.applied |
|
153 |
if patch |
|
|
157 | if patchname == applied.name ]: | |
|
154 | 158 | effects = _patch_effects['applied'] |
|
155 | 159 | else: |
|
156 | 160 | effects = _patch_effects['unapplied'] |
General Comments 0
You need to be logged in to leave comments.
Login now