/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-13 18:52:58 UTC
  • mfrom: (5222.1.1 no-rootless-commits)
  • Revision ID: pqm@pqm.ubuntu.com-20100513185258-xtx26u4bsjyhat1n
(abentley) CommitBuilder refuses to commit trees with no root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
 
234
234
    def show_warning(self, msg):
235
235
        self.clear_term()
 
236
        if isinstance(msg, unicode):
 
237
            te = osutils.get_terminal_encoding()
 
238
            msg = msg.encode(te, 'replace')
236
239
        self.stderr.write("bzr: warning: %s\n" % msg)
237
240
 
238
241
    def _progress_updated(self, task):