comparison mercurial/ui.py @ 11311:fcd06ecd4cb7

Merge backout
author Steve Borho <steve@borho.org>
date Tue, 08 Jun 2010 15:52:56 -0500
parents ef7636efeb01 ac873ecfc3c2
children cdf6d861b207
comparison
equal deleted inserted replaced
11309:ef7636efeb01 11311:fcd06ecd4cb7
544 and GUI tools can override it to allow styling output without 544 and GUI tools can override it to allow styling output without
545 writing it. 545 writing it.
546 546
547 ui.write(s, 'label') is equivalent to 547 ui.write(s, 'label') is equivalent to
548 ui.write(ui.label(s, 'label')). 548 ui.write(ui.label(s, 'label')).
549
550 Callers of ui.label() should pass labeled text back to
551 ui.write() with a label of 'ui.labeled' so implementations know
552 that the text has already been escaped and marked up.
553 ''' 549 '''
554 return msg 550 return msg