##// END OF EJS Templates
color: improve mq extension detection
Patrick Mezard -
r6854:9d11faec default
parent child Browse files
Show More
@@ -166,7 +166,8 b' def uisetup(ui):'
166 nocoloropt = ('', 'no-color', None, _("don't colorize output"))
166 nocoloropt = ('', 'no-color', None, _("don't colorize output"))
167 _decoratecmd(ui, 'status', commands.table, colorstatus, nocoloropt)
167 _decoratecmd(ui, 'status', commands.table, colorstatus, nocoloropt)
168 _configcmdeffects(ui, 'status', _status_effects);
168 _configcmdeffects(ui, 'status', _status_effects);
169 if ui.config('extensions', 'hgext.mq', default=None) is not None:
169 if ui.config('extensions', 'hgext.mq') is not None or \
170 ui.config('extensions', 'mq') is not None:
170 from hgext import mq
171 from hgext import mq
171 _decoratecmd(ui, 'qseries', mq.cmdtable, colorqseries, nocoloropt)
172 _decoratecmd(ui, 'qseries', mq.cmdtable, colorqseries, nocoloropt)
172 _configcmdeffects(ui, 'qseries', _patch_effects);
173 _configcmdeffects(ui, 'qseries', _patch_effects);
General Comments 0
You need to be logged in to leave comments. Login now