Show More
@@ -234,6 +234,13 b' def uisetup(ui):' | |||||
234 | # The mq extension is not enabled |
|
234 | # The mq extension is not enabled | |
235 | pass |
|
235 | pass | |
236 |
|
236 | |||
|
237 | try: | |||
|
238 | rec = extensions.find('record') | |||
|
239 | _setupcmd(ui, 'record', rec.cmdtable, colordiff, _diff_effects) | |||
|
240 | except KeyError: | |||
|
241 | # The record extension is not enabled | |||
|
242 | pass | |||
|
243 | ||||
237 | def _setupcmd(ui, cmd, table, func, effectsmap): |
|
244 | def _setupcmd(ui, cmd, table, func, effectsmap): | |
238 | '''patch in command to command table and load effect map''' |
|
245 | '''patch in command to command table and load effect map''' | |
239 | def nocolor(orig, *args, **opts): |
|
246 | def nocolor(orig, *args, **opts): |
General Comments 0
You need to be logged in to leave comments.
Login now