comparison mercurial/ui.py @ 11310:ac873ecfc3c2

Backed out changeset: e1dde7363601
author Steve Borho <steve@borho.org>
date Tue, 08 Jun 2010 15:52:41 -0500
parents e1dde7363601
children fcd06ecd4cb7
comparison
equal deleted inserted replaced
11302:e1dde7363601 11310:ac873ecfc3c2
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