equal
deleted
inserted
replaced
49 qseries.missing = red bold |
49 qseries.missing = red bold |
50 ''' |
50 ''' |
51 |
51 |
52 import re, sys |
52 import re, sys |
53 |
53 |
54 from mercurial import commands, cmdutil, extensions |
54 from mercurial import commands, extensions |
55 from mercurial.i18n import _ |
55 from mercurial.i18n import _ |
56 |
56 |
57 # start and stop parameters for effects |
57 # start and stop parameters for effects |
58 _effect_params = { 'none': (0, 0), |
58 _effect_params = { 'none': (0, 0), |
59 'black': (30, 39), |
59 'black': (30, 39), |
103 if opts['no_status']: |
103 if opts['no_status']: |
104 # if --no-status, run the command again without that option to get |
104 # if --no-status, run the command again without that option to get |
105 # output with status abbreviations |
105 # output with status abbreviations |
106 opts['no_status'] = False |
106 opts['no_status'] = False |
107 ui.pushbuffer() |
107 ui.pushbuffer() |
108 statusfunc(ui, repo, *pats, **opts) |
108 orig(ui, repo, *pats, **opts) |
109 # filter out empty strings |
109 # filter out empty strings |
110 lines_with_status = [ line for |
110 lines_with_status = [ line for |
111 line in ui.popbuffer().split(delimiter) if line ] |
111 line in ui.popbuffer().split(delimiter) if line ] |
112 else: |
112 else: |
113 lines_with_status = lines |
113 lines_with_status = lines |