Show More
@@ -106,7 +106,7 b' def colorstatus(orig, ui, repo, *pats, *' | |||||
106 | ui.pushbuffer() |
|
106 | ui.pushbuffer() | |
107 | retval = orig(ui, repo, *pats, **opts) |
|
107 | retval = orig(ui, repo, *pats, **opts) | |
108 | # filter out empty strings |
|
108 | # filter out empty strings | |
109 |
lines_with_status = [ |
|
109 | lines_with_status = [line for line in ui.popbuffer().split(delimiter) if line] | |
110 |
|
110 | |||
111 | if nostatus: |
|
111 | if nostatus: | |
112 | lines = [l[2:] for l in lines_with_status] |
|
112 | lines = [l[2:] for l in lines_with_status] |
General Comments 0
You need to be logged in to leave comments.
Login now