hgext/color.py
changeset 30387 ca74c076710e
parent 30367 e193870eb680
child 30638 1c5cbf28f007
equal deleted inserted replaced
30386:ff896733c66a 30387:ca74c076710e
   500                 effects.append(s)
   500                 effects.append(s)
   501             elif valideffect(l):
   501             elif valideffect(l):
   502                 effects.append(l)
   502                 effects.append(l)
   503         effects = ' '.join(effects)
   503         effects = ' '.join(effects)
   504         if effects:
   504         if effects:
   505             return '\n'.join([render_effects(s, effects)
   505             return '\n'.join([render_effects(line, effects)
   506                               for s in msg.split('\n')])
   506                               for line in msg.split('\n')])
   507         return msg
   507         return msg
   508 
   508 
   509 def uisetup(ui):
   509 def uisetup(ui):
   510     if ui.plain():
   510     if ui.plain():
   511         return
   511         return