/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: Martin von Gagern
  • Date: 2010-05-25 11:34:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5273.
  • Revision ID: martin.vgagern@gmx.net-20100525113435-nfut18a2pvresya4
Drop outdated shell completion for zsh.

The new README file in the corresponding directory suggests some
alternatives, first and foremost the one shipped with zsh.

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):