Show More
@@ -146,9 +146,9 b' def colorqseries(orig, ui, repo, *dummy,' | |||||
146 | for patch in patches: |
|
146 | for patch in patches: | |
147 | patchname = patch |
|
147 | patchname = patch | |
148 | if opts['summary']: |
|
148 | if opts['summary']: | |
149 | patchname = patchname.split(': ')[0] |
|
149 | patchname = patchname.split(': ', 1)[0] | |
150 | if ui.verbose: |
|
150 | if ui.verbose: | |
151 | patchname = patchname.split(' ', 2)[-1] |
|
151 | patchname = patchname.lstrip().split(' ', 2)[-1] | |
152 |
|
152 | |||
153 | if opts['missing']: |
|
153 | if opts['missing']: | |
154 | effects = _patch_effects['missing'] |
|
154 | effects = _patch_effects['missing'] | |
@@ -158,7 +158,9 b' def colorqseries(orig, ui, repo, *dummy,' | |||||
158 | effects = _patch_effects['applied'] |
|
158 | effects = _patch_effects['applied'] | |
159 | else: |
|
159 | else: | |
160 | effects = _patch_effects['unapplied'] |
|
160 | effects = _patch_effects['unapplied'] | |
161 | ui.write(render_effects(patch, effects) + '\n') |
|
161 | ||
|
162 | patch = patch.replace(patchname, render_effects(patchname, effects), 1) | |||
|
163 | ui.write(patch + '\n') | |||
162 | return retval |
|
164 | return retval | |
163 |
|
165 | |||
164 | _patch_effects = { 'applied': ['blue', 'bold', 'underline'], |
|
166 | _patch_effects = { 'applied': ['blue', 'bold', 'underline'], |
General Comments 0
You need to be logged in to leave comments.
Login now